msc: Attempt to fix a bug with 'stuck' SMS due RF failure on auth

If we have a RF failure between the paging response and the auth
success we will not inform the subscriber layer of the failed paging
and instead just 'drop' the SMS. In case we have not completed the
auth and close the channel we will now send an auth failure.
This commit is contained in:
Holger Hans Peter Freyther 2010-12-28 14:57:20 +01:00
parent 701076e9d3
commit c29043ea24
1 changed files with 7 additions and 0 deletions

View File

@ -316,6 +316,13 @@ void gsm0408_clear_request(struct gsm_subscriber_connection *conn, uint32_t caus
* operation taking place on the subscriber connection.
*/
release_loc_updating_req(conn);
/* We might need to cancel the paging response or such. */
if (conn->sec_operation && conn->sec_operation->cb) {
conn->sec_operation->cb(GSM_HOOK_RR_SECURITY, GSM_SECURITY_AUTH_FAILED,
NULL, conn, conn->sec_operation->cb_data);
}
release_security_operation(conn);
release_anchor(conn);