summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-27 16:32:52 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-27 16:32:59 +0100
commitdefb10fa62f537cd6e623d3ab1ebd3ebfcf05e06 (patch)
treeba2a3e7c306a76361aacd99d65f1fc940fcf7468
parent80ba9b5dd62cc8bfd10dae2f3b63420ef1e8452d (diff)
Revert "gsm_04_11: Speculative fix for MT SMS and SAPI 'n Reject"
Let's revert it and see if we can find the real issue about the sms being invalid. Sylvain has pointed out that we get invoked from a timer and might not have stopped it properly. This reverts commit 80ba9b5dd62cc8bfd10dae2f3b63420ef1e8452d.
-rw-r--r--openbsc/src/libmsc/gsm_04_11.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/libmsc/gsm_04_11.c b/openbsc/src/libmsc/gsm_04_11.c
index cc93ae63f..19b6030c5 100644
--- a/openbsc/src/libmsc/gsm_04_11.c
+++ b/openbsc/src/libmsc/gsm_04_11.c
@@ -988,7 +988,6 @@ void gsm411_sapi_n_reject(struct gsm_subscriber_connection *conn)
net = conn->bts->network;
-restart:
llist_for_each_entry_safe(trans, tmp, &net->trans_list, entry)
if (trans->conn == conn) {
struct gsm_sms *sms = trans->sms.sms;
@@ -1002,7 +1001,6 @@ restart:
sms_free(sms);
trans->sms.sms = NULL;
trans_free(trans);
- goto restart;
}
}