Interworking: Fix home SP check with real SIM card
authorJouni Malinen <j@w1.fi>
Sun, 26 Aug 2012 17:52:19 +0000 (20:52 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 Aug 2012 20:35:04 +0000 (23:35 +0300)
commit632c9458c484cc2b662879bb16e2d5571f78cf09
tree66a2b8263ab5c9703a5ae0152cab69ac0cda3f74
parent8f234012814b6343f7c3032aad802e0f48774f9c
Interworking: Fix home SP check with real SIM card

The NAI building routine assumed that the credential included the IMSI,
but that is not the case when using a real SIM card. Build the NAI based
on the IMSI read for the card in such a case.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/interworking.c