This allows mac80211 to enable receiving of Probe Request frames in station mode which is needed for P2P. Signed-off-by: Jouni Malinen <jouni.malinen@xxxxxxxxxxx> --- drivers/net/wireless/ath/ath9k/main.c | 1 + drivers/net/wireless/ath/ath9k/recv.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) This depends on the "mac80211: add probe request filter flag" from Johannes. --- wireless-testing.orig/drivers/net/wireless/ath/ath9k/recv.c 2010-10-13 06:39:30.000000000 -0700 +++ wireless-testing/drivers/net/wireless/ath/ath9k/recv.c 2010-10-13 06:46:42.000000000 -0700 @@ -430,8 +430,7 @@ u32 ath_calcrxfilter(struct ath_softc *s | ATH9K_RX_FILTER_UCAST | ATH9K_RX_FILTER_BCAST | ATH9K_RX_FILTER_MCAST; - /* If not a STA, enable processing of Probe Requests */ - if (sc->sc_ah->opmode != NL80211_IFTYPE_STATION) + if (sc->rx.rxfilter & FIF_PROBE_REQ) rfilt |= ATH9K_RX_FILTER_PROBEREQ; /* --- wireless-testing.orig/drivers/net/wireless/ath/ath9k/main.c 2010-10-13 06:42:25.000000000 -0700 +++ wireless-testing/drivers/net/wireless/ath/ath9k/main.c 2010-10-13 07:24:45.000000000 -0700 @@ -1739,6 +1739,7 @@ skip_chan_change: FIF_PSPOLL | \ FIF_OTHER_BSS | \ FIF_BCN_PRBRESP_PROMISC | \ + FIF_PROBE_REQ | \ FIF_FCSFAIL) /* FIXME: sc->sc_full_reset ? */ -- Jouni Malinen PGP id EFC895FA -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html