aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_04_11.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 11:46:03 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 12:16:17 +0800
commitbddfab1f97fb06d7ff4684849e74a74ce7b7e0b9 (patch)
tree78f5ae683ea23a15f096ff1b82900ad9038e1483 /openbsc/src/gsm_04_11.c
parentf5f512cc5945d069b3ffdea1fba6da5ab35bdfac (diff)
gsm_04_11: Remove direct RSL calls from the SMS code...
Do not use RSL to release the SAPI/Channel from within the code, the normal channel release procedure will take care of releasing the SAPIs and there should be no issue in keeping the SAPI=3 established until the end of the session.
Diffstat (limited to 'openbsc/src/gsm_04_11.c')
-rw-r--r--openbsc/src/gsm_04_11.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/openbsc/src/gsm_04_11.c b/openbsc/src/gsm_04_11.c
index 57d808962..f84463c6f 100644
--- a/openbsc/src/gsm_04_11.c
+++ b/openbsc/src/gsm_04_11.c
@@ -754,12 +754,6 @@ static int gsm411_rx_rp_ack(struct msgb *msg, struct gsm_trans *trans,
/* free the transaction here */
trans_free(trans);
-
- /* release channel if done */
-#warning "BROKEN. The SAPI will be released automatically by the BSC"
- if (!sms)
- rsl_release_request(msg->lchan, trans->sms.link_id);
-
return 0;
}
@@ -833,9 +827,6 @@ static int gsm411_rx_rp_smma(struct msgb *msg, struct gsm_trans *trans,
sms = db_sms_get_unsent_for_subscr(trans->subscr);
if (sms)
gsm411_send_sms_lchan(trans->conn, sms);
- else
- rsl_release_request(msg->lchan, trans->sms.link_id);
-#warning "BROKEN: The SAPI=3 will be released automatically by the BSC"
return rc;
}