summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/800-mac80211_scan_callback_revert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/800-mac80211_scan_callback_revert.patch')
-rw-r--r--package/mac80211/patches/800-mac80211_scan_callback_revert.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mac80211/patches/800-mac80211_scan_callback_revert.patch b/package/mac80211/patches/800-mac80211_scan_callback_revert.patch
new file mode 100644
index 0000000000..904dd3c03b
--- /dev/null
+++ b/package/mac80211/patches/800-mac80211_scan_callback_revert.patch
@@ -0,0 +1,20 @@
+--- a/net/mac80211/scan.c
++++ b/net/mac80211/scan.c
+@@ -287,8 +287,6 @@ void ieee80211_scan_completed(struct iee
+ local->scanning = 0;
+ local->scan_channel = NULL;
+
+- drv_sw_scan_complete(local);
+-
+ /* we only have to protect scan_req and hw/sw scan */
+ mutex_unlock(&local->scan_mtx);
+
+@@ -298,6 +296,8 @@ void ieee80211_scan_completed(struct iee
+
+ ieee80211_configure_filter(local);
+
++ drv_sw_scan_complete(local);
++
+ ieee80211_offchannel_return(local, true);
+
+ done: