[PATCH] SCARD: Fix GSM authentication on USIM

Jouni Malinen j at w1.fi
Thu May 15 18:42:03 EDT 2014


On Thu, May 15, 2014 at 08:10:39PM +0200, Simon Baatz wrote:
> scard_gsm_auth() used SIM_CMD_GET_RESPONSE for both SIM and USIM. Convert
> the command into USIM_CMD_GET_RESPONSE for USIM.

Thanks, applied.

> since commit eb324600295 ("Fix switching from EAP-SIM to
> EAP-AKA/AKA'") EAP-SIM is using the USIM if available. This triggers a
> probably ancient bug in scard_gsm_auth(), which results in sending the
> wrong get response command to the USIM. Thus, EAP-SIM stopped to work
> after this change on USIMs that expect the proper command.

Though, I included this to the commit message to make it more helpful in
understand what didn't work and since when.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list