diff options
author | Naftali Goldstein <naftali.goldstein@intel.com> | 2021-04-09 11:40:14 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-04-19 12:06:44 +0200 |
commit | 7dd231eb9ca607d93d00be39df1f01377e2b7d1f (patch) | |
tree | 73af763890eb17232f8887e44b4f9f658545590d /net/mac80211/mlme.c | |
parent | nl80211: Add new RSNXE related nl80211 extended features (diff) | |
download | linux-7dd231eb9ca607d93d00be39df1f01377e2b7d1f.tar.xz linux-7dd231eb9ca607d93d00be39df1f01377e2b7d1f.zip |
mac80211: drop the connection if firmware crashed while in CSA
Don't bother keeping the link in that case. It is way
too complicated to keep the connection.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210409123755.a126c8833398.I677bdac314dd50d90474a90593902c17f9410cc4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 36070a991df0..2d88ff76247f 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -4384,8 +4384,8 @@ static void ieee80211_sta_timer(struct timer_list *t) ieee80211_queue_work(&sdata->local->hw, &sdata->work); } -static void ieee80211_sta_connection_lost(struct ieee80211_sub_if_data *sdata, - u8 *bssid, u8 reason, bool tx) +void ieee80211_sta_connection_lost(struct ieee80211_sub_if_data *sdata, + u8 *bssid, u8 reason, bool tx) { u8 frame_buf[IEEE80211_DEAUTH_FRAME_LEN]; |