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>
This commit is contained in:
committed by
John W. Linville
parent
4f329c043b
commit
94a40c0c6b
@@ -1454,6 +1454,7 @@ out:
|
|||||||
FIF_PSPOLL | \
|
FIF_PSPOLL | \
|
||||||
FIF_OTHER_BSS | \
|
FIF_OTHER_BSS | \
|
||||||
FIF_BCN_PRBRESP_PROMISC | \
|
FIF_BCN_PRBRESP_PROMISC | \
|
||||||
|
FIF_PROBE_REQ | \
|
||||||
FIF_FCSFAIL)
|
FIF_FCSFAIL)
|
||||||
|
|
||||||
static void ath9k_htc_configure_filter(struct ieee80211_hw *hw,
|
static void ath9k_htc_configure_filter(struct ieee80211_hw *hw,
|
||||||
|
@@ -369,8 +369,7 @@ u32 ath9k_htc_calcrxfilter(struct ath9k_htc_priv *priv)
|
|||||||
| ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
|
| ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST
|
||||||
| ATH9K_RX_FILTER_MCAST;
|
| ATH9K_RX_FILTER_MCAST;
|
||||||
|
|
||||||
/* If not a STA, enable processing of Probe Requests */
|
if (priv->rxfilter & FIF_PROBE_REQ)
|
||||||
if (ah->opmode != NL80211_IFTYPE_STATION)
|
|
||||||
rfilt |= ATH9K_RX_FILTER_PROBEREQ;
|
rfilt |= ATH9K_RX_FILTER_PROBEREQ;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user