Fixed WPS with open and shared WEP networks
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 21 Jan 2009 12:18:14 +0000 (14:18 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 21 Jan 2009 12:18:14 +0000 (14:18 +0200)
commita60e7213e10519263bb6fd629043862cce70645e
tree914703df80a4e4e7c007e6357087b2c16a0edb2d
parentaabe26a136459ca8d6e0926a0bcd85835ddafc9a
Fixed WPS with open and shared WEP networks

Do not initialize EAPOL state machine for the STA when hostapd is
configured to use WPS with open or shared WEP networks. This allows the
STA to use EAPOL-Start to indicate it wants to start WPS in such a case
and hostapd does not end up running through EAPOL authentication timeout
and disconnecting the STA if WPS is not used.

There was already code for starting EAPOL state machines based on
received EAPOL packets, but that was not working properly since
portEnabled was not set to TRUE on that code path. This is now fixed,
too.
hostapd/ieee802_1x.c