Commit 94a40c0c6bcc47ceba12e0247c5a23fb1e6c81e4

Authored by Rajkumar Manoharan
Committed by John W. Linville
1 parent 4f329c043b

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
... ... @@ -1454,6 +1454,7 @@
1454 1454 FIF_PSPOLL | \
1455 1455 FIF_OTHER_BSS | \
1456 1456 FIF_BCN_PRBRESP_PROMISC | \
  1457 + FIF_PROBE_REQ | \
1457 1458 FIF_FCSFAIL)
1458 1459  
1459 1460 static void ath9k_htc_configure_filter(struct ieee80211_hw *hw,
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 /*