diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2010-10-14 05:20:26 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-15 19:57:33 (GMT) |
commit | 94a40c0c6bcc47ceba12e0247c5a23fb1e6c81e4 (patch) | |
tree | fcbfbe333968654ebee57389675c391ed15ef597 /drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | |
parent | 4f329c043ba3495f0f97ec782948cbba7bd01047 (diff) | |
download | linux-94a40c0c6bcc47ceba12e0247c5a23fb1e6c81e4.tar.xz |
ath9k_htc: set probe request rx filter
This patch enables to receive probe request frames on p2p
client mode.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_txrx.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index c99600a..3d19b5b 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c @@ -369,8 +369,7 @@ u32 ath9k_htc_calcrxfilter(struct ath9k_htc_priv *priv) | ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST | ATH9K_RX_FILTER_MCAST; - /* If not a STA, enable processing of Probe Requests */ - if (ah->opmode != NL80211_IFTYPE_STATION) + if (priv->rxfilter & FIF_PROBE_REQ) rfilt |= ATH9K_RX_FILTER_PROBEREQ; /* |