STA: Allow sta_set_eapaka to set EAP-AKA' EAP method

As per RFC 5448, EAP-AKA' MUST use the leading character "6" (ASCII 36
hexadecimal) for IMSI-based permanent usernames. Since CAPI is going to
use sta_set_eapaka in place of sta_set_eapakaprime to set AKA-PRIME
(EAP-AKA'), handle this by looking at the leading character '6' in
'username' and set EAP method as EAP-AKA' when needed.

Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
1 file changed