Correct state machine handling of AUTH -> AUTH transitions that pass

through wpa_supplcant.  If a sta is deauth'd (e.g. due to inactivity)
with roaming mode set to manual then a subsequent MLME assoc request
will be incorrectly handled and the station will never reauthenticate.
To fix this interpret a reason code of zero as sufficient to send an
auth request frame.
This commit is contained in:
Sam Leffler 2007-06-16 05:13:48 +00:00
parent 2446e4f02c
commit cb8bac4aee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170817

View file

@ -1065,6 +1065,7 @@ static void
sta_authretry(struct ieee80211com *ic, struct ieee80211_node *ni, int reason)
{
switch (reason) {
case IEEE80211_STATUS_SUCCESS:
case IEEE80211_STATUS_TIMEOUT:
case IEEE80211_REASON_ASSOC_EXPIRE:
case IEEE80211_REASON_NOT_AUTHED: