aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 16f7fb164c2d..4e635e2fabdb 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1186,6 +1186,12 @@ int __ieee80211_suspend(struct ieee80211_hw *hw);
1186 1186
1187static inline int __ieee80211_resume(struct ieee80211_hw *hw) 1187static inline int __ieee80211_resume(struct ieee80211_hw *hw)
1188{ 1188{
1189 struct ieee80211_local *local = hw_to_local(hw);
1190
1191 WARN(test_bit(SCAN_HW_SCANNING, &local->scanning),
1192 "%s: resume with hardware scan still in progress\n",
1193 wiphy_name(hw->wiphy));
1194
1189 return ieee80211_reconfig(hw_to_local(hw)); 1195 return ieee80211_reconfig(hw_to_local(hw));
1190} 1196}
1191#else 1197#else