mac80211: also expire filtered frames
commit60750397122fe0fb81a6e52fd790b3f749b6e010
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Sep 2011 14:04:28 +0000 (29 16:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:11 +0000 (30 15:57 -0400)
tree3efa9772e7428d800fd2d236c558ca37c0ef7bb4
parentc868cb35d013896ab6a80a554fb88baef06cedcd
mac80211: also expire filtered frames

mac80211 will expire normal PS-buffered frames, but
if the device rejected some frames for a sleeping
station, these won't be on the ps_tx_buf queue but
on the tx_filtered queue instead; this is done to
avoid reordering.

However, mac80211 will not expire frames from the
filtered queue, let's fix that.

Also add a more comments to what all this expiry is
doing and how it works.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/sta_info.c
net/mac80211/status.c