diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-27 07:22:50 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-27 07:34:34 +0100 |
commit | 3a110ae60b58eeffe63296055d0431760e6bb1d0 (patch) | |
tree | b8b30b6e2675d6996d9b82bb85153eaaa2f26dd7 /openbsc/src/bsc_msc_ip.c | |
parent | bb84adc46552b18b248f47de4f19e181e0842af2 (diff) |
[msc] Attempt to fix MT SMS with ciphering enabled.
The MSC is asking us to enable ciphering and then immediately
sends a DTAP msg for SAPI=3. We handle this correctly by attempting
to establish SAPI=3 but we never get an establishment confirm
for this SAPI.
Attempt to fix it by not sending any DTAP message when we receive
the Cipher Mode Request and unblock the queue when the ciphering
is confirmed. The unblocking currently works by taking all messages
out of the queue and then submitting them again. This will attempt
to establish the SAPI=3 and such automaticaly.
And the MSC stopped sending me SMS so this needs to be verified at a
later time.
Diffstat (limited to 'openbsc/src/bsc_msc_ip.c')
-rw-r--r-- | openbsc/src/bsc_msc_ip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/bsc_msc_ip.c b/openbsc/src/bsc_msc_ip.c index 73a31ffc3..e7db79cd9 100644 --- a/openbsc/src/bsc_msc_ip.c +++ b/openbsc/src/bsc_msc_ip.c @@ -286,6 +286,7 @@ static int handle_cipher_m_complete(struct msgb *msg) /* handled this message */ + bts_unblock_queue(msg->lchan->msc_data); bsc_queue_connection_write(lchan_get_sccp(msg->lchan), resp); return 1; } |