Commit 94a40c0c6bcc47ceba12e0247c5a23fb1e6c81e4
Committed by
John W. Linville
1 parent
4f329c043b
Exists in
master
and in
39 other branches
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>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
drivers/net/wireless/ath/ath9k/htc_drv_main.c
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
... | ... | @@ -369,8 +369,7 @@ |
369 | 369 | | ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST |
370 | 370 | | ATH9K_RX_FILTER_MCAST; |
371 | 371 | |
372 | - /* If not a STA, enable processing of Probe Requests */ | |
373 | - if (ah->opmode != NL80211_IFTYPE_STATION) | |
372 | + if (priv->rxfilter & FIF_PROBE_REQ) | |
374 | 373 | rfilt |= ATH9K_RX_FILTER_PROBEREQ; |
375 | 374 | |
376 | 375 | /* |