From 1cec9c4c40873f83842a34a383eb92fb2764b8fe Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 22 May 2018 20:35:55 +0200 Subject: 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 --- src/gprs/gprs_subscriber.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gprs') 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; } -- cgit v1.2.3