mac80211: ignore PSM bit of reordered frames
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 27 Dec 2010 22:21:26 +0000 (23:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:35:15 +0000 (14:35 -0500)
commit4cfda47b69d0a37e5fc0292addba6d0f5f671a14
tree4a39ef3560c429b388e96a7479ac8fc27d4fd0c7
parent5af3c1d195a6169a925a929e800dc4fce2a545ae
mac80211: ignore PSM bit of reordered frames

This patch tackles one of the problems of my
reorder release timer patch from August.

<http://www.spinics.net/lists/linux-wireless/msg57214.html>
=>
What if the reorder release triggers and ap_sta_ps_end
(called by ieee80211_rx_h_sta_process) accidentally clears
the WLAN_STA_PS_STA flag, because 100ms ago - when the STA
was still active - frames were put into the reorder buffer.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/rx.c