diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath9k/recv.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c index 2ecb0a010ce2..2d72ac19fada 100644 --- a/drivers/net/wireless/ath9k/recv.c +++ b/drivers/net/wireless/ath9k/recv.c | |||
@@ -296,9 +296,8 @@ u32 ath_calcrxfilter(struct ath_softc *sc) | |||
296 | rfilt &= ~ATH9K_RX_FILTER_UCAST; | 296 | rfilt &= ~ATH9K_RX_FILTER_UCAST; |
297 | } | 297 | } |
298 | 298 | ||
299 | if (((sc->sc_ah->ah_opmode == ATH9K_M_STA) && | 299 | if (sc->sc_ah->ah_opmode == ATH9K_M_STA || |
300 | (sc->rx_filter & FIF_BCN_PRBRESP_PROMISC)) || | 300 | sc->sc_ah->ah_opmode == ATH9K_M_IBSS) |
301 | (sc->sc_ah->ah_opmode == ATH9K_M_IBSS)) | ||
302 | rfilt |= ATH9K_RX_FILTER_BEACON; | 301 | rfilt |= ATH9K_RX_FILTER_BEACON; |
303 | 302 | ||
304 | /* If in HOSTAP mode, want to enable reception of PSPOLL frames | 303 | /* If in HOSTAP mode, want to enable reception of PSPOLL frames |