mac80211: exit cooked monitor RX early if there are none
authorJohannes Berg <johannes.berg@intel.com>
Fri, 21 Oct 2011 08:22:22 +0000 (10:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2011 20:54:13 +0000 (15:54 -0500)
commit152c477aa3eb8046b35aa7cde2782230064041d8
treeb54ff13db4111d02210c1650d8c5f3ee53ca5a25
parentb83db862ffb871e3131e5d2160c741b288eea9aa
mac80211: exit cooked monitor RX early if there are none

If there are no cooked monitor interfaces, there's
no point in building the radiotap RX header for the
frame and iterating the interface list.

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