mac80211: merge a power save related race condition fix
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 Sep 2011 11:09:40 +0000 (11:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 6 Sep 2011 11:09:40 +0000 (11:09 +0000)
SVN-Revision: 28185

package/mac80211/patches/300-pending_work.patch

index c234e9d694698d294a0eccc774bfeeefab97fbf4..b19865ad302bce3530b1570a987e6b1f7bbfc603 100644 (file)
                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--;