summaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-06 11:09:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-09-06 11:09:40 +0000
commitd29e95d41e62c781dc5ba0f3c704c463a31d5021 (patch)
tree69378db470f1628b66ce7e5ff58d2a08509ed28d /package/mac80211
parent8708bcc2d32bc2b65fe87605b5d15703b12f86af (diff)
mac80211: merge a power save related race condition fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28185 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/300-pending_work.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index c234e9d69..b19865ad3 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -344,3 +344,14 @@
if (!(rates[i].flags & IEEE80211_TX_RC_MCS))
return true;
}
+--- a/net/mac80211/sta_info.c
++++ b/net/mac80211/sta_info.c
+@@ -796,7 +796,7 @@ static int __must_check __sta_info_destr
+ BUG_ON(!sdata->bss);
+
+ atomic_dec(&sdata->bss->num_sta_ps);
+- __sta_info_clear_tim_bit(sdata->bss, sta);
++ sta_info_clear_tim_bit(sta);
+ }
+
+ local->num_sta--;