Add an EAPOL payload length workaround for a WPS implementation
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 23 Jan 2009 16:01:03 +0000 (18:01 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 23 Jan 2009 16:01:03 +0000 (18:01 +0200)
commitb385188de3c360ee9690abcea09204ab777a123e
treebcd8a85183216655af41f30f5293370bd55165a2
parenta609915233c75f6dc8b942292fd8dcd79bb871bf
Add an EAPOL payload length workaround for a WPS implementation

Buffalo WHR-G125 Ver.1.47 seems to send EAP-WPS packets with too short
EAPOL header length field (14 octets regardless of EAP frame length).
This is fixed in firmware Ver.1.49, but the broken version is included
in many deployed APs. As a workaround, fix the EAPOL header based on the
correct length in the EAP packet. This workaround can be disabled with
eap_workaround=0 option in the network configuration.
src/eapol_supp/eapol_supp_sm.c