|
@@ -448,8 +448,7 @@ u32 ath_calcrxfilter(struct ath_softc *sc)
|
|
else
|
|
else
|
|
rfilt |= ATH9K_RX_FILTER_BEACON;
|
|
rfilt |= ATH9K_RX_FILTER_BEACON;
|
|
|
|
|
|
- /* If in HOSTAP mode, want to enable reception of PSPOLL frames */
|
|
|
|
- if (sc->sc_ah->opmode == NL80211_IFTYPE_AP)
|
|
|
|
|
|
+ if (sc->rx.rxfilter & FIF_PSPOLL)
|
|
rfilt |= ATH9K_RX_FILTER_PSPOLL;
|
|
rfilt |= ATH9K_RX_FILTER_PSPOLL;
|
|
|
|
|
|
if (sc->sec_wiphy) {
|
|
if (sc->sec_wiphy) {
|