]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix WPS AP mode regression
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 11 Apr 2011 16:22:49 +0000 (19:22 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 11 Apr 2011 16:22:49 +0000 (19:22 +0300)
commitdf13a1cdffc867d738ff6e8e7c61cfad8b4ca4ba
tree6a07549ed4d662d963b4b6ce1b4870266424a923
parent4bb3377bc5ef8f9ca39c6383ce0aa7759193754b
Fix WPS AP mode regression

Commit 03d3f28a698ec2c269fed35b88be30373595eee2 broke initialization of
EAPOL authenticator state machines since an error value from
wpa_auth_sta_key_mgmt() (-1) was not handled properly and the fixed
wpa_key_mgmt_wpa_psk() identified the value as a PSK-based AKM because
of all bits being set to 1. The special error value needs to handled
separately to avoid skipping EAPOL state machine initialization.
src/ap/ieee802_1x.c