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;