diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-10 02:11:25 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-16 15:32:34 +0100 |
commit | c1ebe963f44006fe8b60304dcceeb22c5d14c2e3 (patch) | |
tree | bea32b1ed127b5da846c9f5e7bdb0ed6a1ded151 /openbsc/src/libmsc/ussd.c | |
parent | 3e82738b740830f53ac552f4c51430f1fd434684 (diff) |
more specifically conclude cm service requests
Don't end a CM Service Request "lock" too indiscriminately. Trigger only on new
transactions that start.
Change-Id: I4f64b8d91cfb1e61be4563594b2d6b23144af5bc
Diffstat (limited to 'openbsc/src/libmsc/ussd.c')
-rw-r--r-- | openbsc/src/libmsc/ussd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/ussd.c b/openbsc/src/libmsc/ussd.c index 8c7700b11..81a356690 100644 --- a/openbsc/src/libmsc/ussd.c +++ b/openbsc/src/libmsc/ussd.c @@ -54,6 +54,8 @@ int handle_rcv_ussd(struct gsm_subscriber_connection *conn, struct msgb *msg) * As we answer everytying synchronously so far, there's no need * yet */ + cm_service_request_concludes(conn, msg); + memset(&req, 0, sizeof(req)); gh = msgb_l3(msg); rc = gsm0480_decode_ss_request(gh, msgb_l3len(msg), &req); |