From: Felix Fietkau Date: Tue, 6 Sep 2011 11:12:16 +0000 (+0000) Subject: mac80211: merge a power save related race condition fix (backport of r28185) X-Git-Tag: backfire_10.03.1~131 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c456f354a8c39b8ab04b24e1f8420b60a2bff1e1;p=openwrt%2Fsvn-archive%2Fopenwrt.git mac80211: merge a power save related race condition fix (backport of r28185) SVN-Revision: 28186 --- diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index c234e9d694..b19865ad30 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--;