LinuxKPI: 802.11 handle connection loss differently

Rather than just bouncing back to SCAN bounce to INIT on connection
loss.  This is should be refined in the future as the comment already
indicates but we need to tie two different worlds together.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit f3229b62a1)
This commit is contained in:
Bjoern A. Zeeb 2022-01-15 22:18:58 +00:00
parent d6529c0d12
commit ccda5ec945

View file

@ -3589,11 +3589,11 @@ linuxkpi_ieee80211_connection_loss(struct ieee80211_vif *vif)
vap = LVIF_TO_VAP(lvif);
/*
* Go to scan; otherwise we need to elaborately check state and
* Go to init; otherwise we need to elaborately check state and
* handle accordingly, e.g., if in RUN we could call iv_bmiss.
* Let the statemachine handle all neccessary changes.
*/
nstate = IEEE80211_S_SCAN;
nstate = IEEE80211_S_INIT;
arg = 0;
if (debug_80211 & D80211_TRACE)