diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2018-05-22 20:35:55 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2018-05-22 20:54:35 +0200 |
commit | 1cec9c4c40873f83842a34a383eb92fb2764b8fe (patch) | |
tree | 42ba36b98769e781a0c61279065ac1745a40adb4 | |
parent | 39c67e2640fc34346dffe3cff9f9f8e905fe5ad9 (diff) |
gprs_subscriber: gsup_auth_error: reject MS in all cases
There is no way to recover from "PROTOCOL_ERRORS".
As long the error_cause is not set, the
SGSN won't send out a GMM Request Reject.
Fixes: TTCN: SGGN_Tests.TC_attach_auth_sai_reject
Change-Id: Iefe8f05686ef4acac721f3c0672910704f3b0ff8
-rw-r--r-- | src/gprs/gprs_subscriber.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gprs/gprs_subscriber.c b/src/gprs/gprs_subscriber.c index bebdb1e4b..1bebc6526 100644 --- a/src/gprs/gprs_subscriber.c +++ b/src/gprs/gprs_subscriber.c @@ -502,6 +502,7 @@ static int gprs_subscr_handle_gsup_auth_err(struct gprs_subscr *subscr, "GSUP protocol remote error, GMM cause = '%s' (%d)\n", get_value_string(gsm48_gmm_cause_names, gsup_msg->cause), gsup_msg->cause); + sdata->error_cause = gsup_msg->cause; break; } |