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
This commit is contained in:
parent
1741372556
commit
e634dec487
|
@ -904,7 +904,7 @@ int gsm_subscr_generate_kc(struct osmocom_ms *ms, uint8_t key_seq,
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue