osmith submitted this change.
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(-)
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 change 27312. To unsubscribe, or for help writing mail filters, visit settings.