[PATCH] EAP: Failed to switch EAP-SIM to EAP-AKA/AKA'

Jouni Malinen j
Sat Aug 31 06:15:59 PDT 2013


On Tue, Jul 30, 2013 at 11:32:40AM +0900, Masashi Honma wrote:
> Switching eap method from EAP-SIM to EAP-AKA fails.

> This occurs because on the first EAP-SIM authentication, the SIM/USIM card in
> the device was recognized as SIM card even if it is USIM card.
> 
> So this patch changes it to recognize as USIM card even if EAP-SIM
> authentication was required.

Thanks, applied. Though, I don't think even this is really completely
correct, but it is obviously better than the previous situation. It
might be worthwhile to just remove the sim_type argument to scard_init()
completely and always initialize PC/SC with an attempt to use both
types. Validation of EAP-SIM and EAP-AKA/AKA' compatibility should be
done properly for each network separately rather than during initial
setup of the scard context.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list