]> Pileus Git - ~andy/linux/commitdiff
ath9k: enable RXing of beacons on STA/IBSS
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 3 Nov 2008 22:43:01 +0000 (14:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Nov 2008 16:06:06 +0000 (11:06 -0500)
This enables beacons to come through on STA/IBSS.
It should fix sporadic connection issues. Right now
mac80211 expect beacons so give it beacons.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/recv.c

index 2ecb0a010ce2bcd738395ce0ac1c836e7d53f6a3..2d72ac19fada9f66d92ce7502ec53a8ea67af2da 100644 (file)
@@ -296,9 +296,8 @@ u32 ath_calcrxfilter(struct ath_softc *sc)
                rfilt &= ~ATH9K_RX_FILTER_UCAST;
        }
 
-       if (((sc->sc_ah->ah_opmode == ATH9K_M_STA) &&
-            (sc->rx_filter & FIF_BCN_PRBRESP_PROMISC)) ||
-           (sc->sc_ah->ah_opmode == ATH9K_M_IBSS))
+       if (sc->sc_ah->ah_opmode == ATH9K_M_STA ||
+                       sc->sc_ah->ah_opmode == ATH9K_M_IBSS)
                rfilt |= ATH9K_RX_FILTER_BEACON;
 
        /* If in HOSTAP mode, want to enable reception of PSPOLL frames