]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mac80211: clear txflags for ps-filtered frames
authorChristian Lamparter <chunkeey@googlemail.com>
Tue, 21 Sep 2010 19:36:18 +0000 (21:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Sep 2010 19:54:30 +0000 (15:54 -0400)
commiteb7d3066cf864342e8ae6a5c1126a1602c4d06c0
tree85c7a4f11d06d1c90a3bcba05adc7df1eb3f2823
parented627be38a1a07c6986a9f17c299f6afc86ac6b7
mac80211: clear txflags for ps-filtered frames

This patch fixes stale mac80211_tx_control_flags for
filtered / retried frames.

Because ieee80211_handle_filtered_frame feeds skbs back
into the tx path, they have to be stripped of some tx
flags so they won't confuse the stack, driver or device.

Cc: <stable@kernel.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/status.c