Change in osmocom-bb[master]: mobile/subscriber.c: fix auth resp with test sim
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/27312 ) Change subject: mobile/subscriber.c: fix auth resp with test sim ...................................................................... mobile/subscriber.c: fix auth resp with test sim Do not send a dummy authentication response with the test sim. Fixes: 39dc9c46 ("mobile/subscriber.c: consider GSM_SIM_TYPE_SAP too") Change-Id: I0ee910c171d383fb2cdcaf5eb54eafe18da3430b --- M src/host/layer23/src/mobile/subscriber.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/src/host/layer23/src/mobile/subscriber.c b/src/host/layer23/src/mobile/subscriber.c index 500dd76..4009238 100644 --- a/src/host/layer23/src/mobile/subscriber.c +++ b/src/host/layer23/src/mobile/subscriber.c @@ -904,7 +904,7 @@ struct sim_hdr *nsh; /* not a SIM */ - if (!GSM_SIM_IS_READER(subscr->sim_type) + if ((subscr->sim_type != GSM_SIM_TYPE_TEST && !GSM_SIM_IS_READER(subscr->sim_type)) || !subscr->sim_valid || no_sim) { struct gsm48_mm_event *nmme; -- To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/27312 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Change-Id: I0ee910c171d383fb2cdcaf5eb54eafe18da3430b Gerrit-Change-Number: 27312 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-CC: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged
participants (1)
-
osmith