Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2022 14:46:15 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ccda5ec945aa - stable/13 - LinuxKPI: 802.11 handle connection loss differently
Message-ID:  <202201201446.20KEkF2P064847@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=ccda5ec945aac6c19ac6d6caaf4d77eb3db01305

commit ccda5ec945aac6c19ac6d6caaf4d77eb3db01305
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-01-15 22:18:58 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-01-20 14:05:17 +0000

    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 f3229b62a14953f0e487e8b32fef14b073da2890)
---
 sys/compat/linuxkpi/common/src/linux_80211.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
index d2e095040696..8eabf63d43d7 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201201446.20KEkF2P064847>