]> git.karo-electronics.de Git - karo-tx-linux.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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:01 +0000 (23:40 +0100)
commitafa9194b3aee8846357236026905fb221c1d4564
tree8e4c4923ace0f0c9829eacba2e7440fe67b2dd56
parent0fe79ffa47b60778e71fc8b2dcfc30eb9681db30
mac80211: clear txflags for ps-filtered frames

commit eb7d3066cf864342e8ae6a5c1126a1602c4d06c0 upstream.

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.

Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
include/net/mac80211.h
net/mac80211/status.c