mac80211: do not send duplicate data frames to the cooked monitor interface
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Feb 2011 18:20:08 +0000 (19:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Feb 2011 21:29:52 +0000 (16:29 -0500)
commitb1f93314bfc4d5753391616735f6b8df96db901d
tree9d6e690e3dca33295e3ca1f156bf9a84429f7388
parent8e5461041f4498e3c8f4e0a51187f608f0a18b08
mac80211: do not send duplicate data frames to the cooked monitor interface

I can't think of a valid use case for this aside from debugging (which can
also be done with a real monitor interface), and dropping these frames saves
some precious CPU cycles.

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