]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath9k: remove support for the FIF_PROMISC_IN_BSS filter flag
authorFelix Fietkau <nbd@openwrt.org>
Wed, 9 Mar 2011 00:48:12 +0000 (01:48 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 19:50:12 +0000 (12:50 -0700)
commit11503d7c36bb70eff71958ff8946d5b95299f988
treec860cafde73b3cb50b8a0a74f6f8738e5fe9f0e4
parentc2ba18104706630ec6e25e0ae7b07e0be048f981
ath9k: remove support for the FIF_PROMISC_IN_BSS filter flag

commit 2e286947f1294239527c11f9f466ddce6466455b upstream.

The hardware rx filter flag triggered by FIF_PROMISC_IN_BSS is overly broad
and covers even frames with PHY errors. When this flag is enabled, this message
shows up frequently during scanning or hardware resets:

ath: Could not stop RX, we could be confusing the DMA engine when we start RX up

Since promiscuous mode is usually not particularly useful, yet enabled by
default by bridging (either used normally in 4-addr mode, or with hacks
for various virtualization software), we should sacrifice it for better
reliability during normal operation.

This patch leaves it enabled if there are active monitor mode interfaces, since
it's very useful for debugging.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/recv.c