lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/9253


Change subject: gprs_subscriber: gsup_auth_error: reject MS in all cases
......................................................................

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
---
M src/gprs/gprs_subscriber.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/53/9253/1

diff --git a/src/gprs/gprs_subscriber.c b/src/gprs/gprs_subscriber.c
index bebdb1e..1bebc65 100644
--- a/src/gprs/gprs_subscriber.c
+++ b/src/gprs/gprs_subscriber.c
@@ -502,6 +502,7 @@
                        "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;
        }


--
To view, visit https://gerrit.osmocom.org/9253
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iefe8f05686ef4acac721f3c0672910704f3b0ff8
Gerrit-Change-Number: 9253
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>

Reply via email to