]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: don't enable probe request rx for STAs
authorBob Copeland <me@bobcopeland.com>
Sun, 15 Aug 2010 17:03:15 +0000 (13:03 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:28:04 +0000 (16:28 -0400)
commitd423c7aa884a039cdb29b664ab7fb6ddf8d502fd
tree3669bff6d590876bc57b499e492dc9f9575da808
parente998c2d368d7615976708e44c00328c2dde79e94
ath5k: don't enable probe request rx for STAs

AR5K_RX_FILTER_PROBEREQ enables reception of probe requests,
but the filter flag FIF_BCN_PRBRESP_PROMISC is actually about
receiving beacons and probe _responses_, so we shouldn't
turn on the filter when scanning.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c