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 80ba9b5dd6
.
This commit is contained in:
parent
80ba9b5dd6
commit
defb10fa62
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue