summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/530-mac80211_work_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-15 01:16:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-15 01:16:40 +0000
commit6f5cd22319c93386e6a0fbec95de71a8c5d2356d (patch)
tree9a1173458a7f2febebb2b329eda4e21cd3418f3f /package/mac80211/patches/530-mac80211_work_fix.patch
parent40470f71fcf0a12dbd4cd9bcbb74225b8dff994d (diff)
downloadmtk-20170518-6f5cd22319c93386e6a0fbec95de71a8c5d2356d.zip
mtk-20170518-6f5cd22319c93386e6a0fbec95de71a8c5d2356d.tar.gz
mtk-20170518-6f5cd22319c93386e6a0fbec95de71a8c5d2356d.tar.bz2
mac80211: update to wireless-testing+wireless-2.6 from 2010-01-13
SVN-Revision: 19139
Diffstat (limited to 'package/mac80211/patches/530-mac80211_work_fix.patch')
-rw-r--r--package/mac80211/patches/530-mac80211_work_fix.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/mac80211/patches/530-mac80211_work_fix.patch b/package/mac80211/patches/530-mac80211_work_fix.patch
deleted file mode 100644
index 339a52d..0000000
--- a/package/mac80211/patches/530-mac80211_work_fix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/net/mac80211/scan.c
-+++ b/net/mac80211/scan.c
-@@ -284,6 +284,7 @@ void ieee80211_scan_completed(struct iee
- ieee80211_mlme_notify_scan_completed(local);
- ieee80211_ibss_notify_scan_completed(local);
- ieee80211_mesh_notify_scan_completed(local);
-+ ieee80211_queue_work(&local->hw, &local->work_work);
- }
- EXPORT_SYMBOL(ieee80211_scan_completed);
-
---- a/net/mac80211/work.c
-+++ b/net/mac80211/work.c
-@@ -818,6 +818,7 @@ static void ieee80211_work_work(struct w
- wk->chan == local->tmp_channel &&
- wk->chan_type == local->tmp_channel_type) {
- wk->started = true;
-+ wk->timeout = jiffies;
- }
-
- if (!wk->started && !local->tmp_channel) {
-@@ -935,6 +936,9 @@ void ieee80211_add_work(struct ieee80211
- if (WARN_ON(!wk->done))
- return;
-
-+ if (WARN_ON(!ieee80211_sdata_running(wk->sdata)))
-+ return;
-+
- wk->started = false;
-
- local = wk->sdata->local;