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)
commit30bf4169ad163047f87a2555cb33aa55f5d5e2bc
tree3669bff6d590876bc57b499e492dc9f9575da808
parent4afd89d9cf17df46c3cfa1eb744232e345b3b0e6
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