From: Ben Greear <[email protected]>
This can happen when firmware crashes during recover operations, for
instance. Seen sometimes during stress test of ath10k systems, particularlly
an IPQ4019 based platform, but I think it could happen on many systems.
Signed-off-by: Ben Greear <[email protected]>
---
net/mac80211/util.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index f3bc05217f741..ecd56f80b0c82 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -2106,6 +2106,7 @@ static void ieee80211_handle_reconfig_failure(struct ieee80211_local *local)
mutex_unlock(&local->chanctx_mtx);
cfg80211_shutdown_all_interfaces(local->hw.wiphy);
+ cfg80211_set_unavailable(local->hw.wiphy, 1);
}
static void ieee80211_assign_chanctx(struct ieee80211_local *local,
--
2.26.2