mac80211: optimise monitor xmit
authorJohannes Berg <johannes.berg@intel.com>
Fri, 7 Oct 2011 12:01:23 +0000 (14:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Oct 2011 20:41:17 +0000 (16:41 -0400)
commit5d9cf4a5d7d46e412bc43b20c79743d81a0328cb
tree5481f798c9407c16ee7958b24559f23d8808a888
parentd9cd48f95c5ba9e5f1d5287ed74630607471031c
mac80211: optimise monitor xmit

Since the only way the interface can be a monitor
interface in ieee80211_xmit() is because the frame
came from ieee80211_monitor_start_xmit() we can
move all the code there.

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