1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-28 00:11:05 +02:00
openwrt-xburst/package/mac80211/patches/800-mac80211_scan_callback_revert.patch
nbd f7ff2aed8b mac80211: update to wireless-testing 2010-07-26 + pending patches - adds a change that might fix some calibration issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 21:04:54 +00:00

21 lines
482 B
Diff

--- 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: