mac80211: optimize tx status processing
authorFelix Fietkau <nbd@openwrt.org>
Thu, 11 Mar 2010 15:28:24 +0000 (16:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Mar 2010 19:31:59 +0000 (15:31 -0400)
When a cooked monitor interface is active, ieee80211_tx_status()
generates a radiotap header for every single frame, even if it wasn't
injected and thus won't be sent to a monitor interface.
This patch reduces cpu utilization by moving the cooked monitor check a
bit earlier, before it generates the rtap header.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found