From: Felix Fietkau Date: Thu, 11 Mar 2010 15:28:24 +0000 (+0100) Subject: mac80211: optimize tx status processing X-Git-Tag: v2.6.35-rc1~473^2~714^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf55530c94cb7adcd320c28ed6c7d463c9a3727;p=pandora-kernel.git mac80211: optimize tx status processing 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed