aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2011-10-28 11:11:13 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-01 11:49:33 +0100
commitbc6c43f7595ce379b8b754df1321b852b9a20fee (patch)
tree038868447cee361a4beee3e0ab38f65526339cb7 /openbsc/include
parentf7396eac2f03d612ab27ff279dfefaf3058bf591 (diff)
sms: Replaced the SMR process by new implementation in libosmocore
Rebased, tested and fixed by Holger Freyther. Release the transaction only once the SMC is asking for the release and set the cb's to NULL to catch a use after free early.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/transaction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h
index db6a704b1..99a97ed76 100644
--- a/openbsc/include/openbsc/transaction.h
+++ b/openbsc/include/openbsc/transaction.h
@@ -7,6 +7,7 @@
#include <openbsc/gsm_04_11.h>
#include <openbsc/mncc.h>
#include <osmocom/gsm/gsm0411_smc.h>
+#include <osmocom/gsm/gsm0411_smr.h>
/* One transaction */
struct gsm_trans {
@@ -48,10 +49,9 @@ struct gsm_trans {
} cc;
struct {
uint8_t link_id; /* RSL Link ID to be used for this trans */
- int is_mt; /* is this a MO (0) or MT (1) transfer */
- enum gsm411_rp_state rp_state;
struct gsm411_smc_inst smc_inst;
+ struct gsm411_smr_inst smr_inst;
struct gsm_sms *sms;
} sms;