mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
2446e4f02c
commit
cb8bac4aee
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue