summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/911-wlcore-don-t-stop-sched_scan-on-interface-removal.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-18 18:55:54 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-18 18:55:54 +0000
commit2ead16490139642a2cb5d191e90729d6c27455d1 (patch)
tree2559a20fed9cca97addaeeb1a9f3a2948311b424 /package/kernel/mac80211/patches/911-wlcore-don-t-stop-sched_scan-on-interface-removal.patch
parentee194135dc0e12c78515a6349d651ada3807ae12 (diff)
[mac80211]: add add new firmware support and additional fixes for wl18xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/911-wlcore-don-t-stop-sched_scan-on-interface-removal.patch')
-rw-r--r--package/kernel/mac80211/patches/911-wlcore-don-t-stop-sched_scan-on-interface-removal.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/911-wlcore-don-t-stop-sched_scan-on-interface-removal.patch b/package/kernel/mac80211/patches/911-wlcore-don-t-stop-sched_scan-on-interface-removal.patch
new file mode 100644
index 0000000000..91269d22fc
--- /dev/null
+++ b/package/kernel/mac80211/patches/911-wlcore-don-t-stop-sched_scan-on-interface-removal.patch
@@ -0,0 +1,25 @@
+Stopping sched scan on interface removal (during recovery)
+is no longer needed, as sched scanning is automatically
+restarted by mac80211.
+
+Signed-off-by: Barak Bercovitz <barak@wizery.com>
+Signed-off-by: Eliad Peller <eliad@wizery.com>
+
+---
+drivers/net/wireless/ti/wlcore/main.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+--- a/drivers/net/wireless/ti/wlcore/main.c
++++ b/drivers/net/wireless/ti/wlcore/main.c
+@@ -2582,10 +2582,8 @@ static void __wl1271_op_remove_interface
+ ieee80211_scan_completed(wl->hw, true);
+ }
+
+- if (wl->sched_vif == wlvif) {
+- ieee80211_sched_scan_stopped(wl->hw);
++ if (wl->sched_vif == wlvif)
+ wl->sched_vif = NULL;
+- }
+
+ if (wl->roc_vif == vif) {
+ wl->roc_vif = NULL;