summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-05-12 14:03:29 +0000
committeradrian <adrian@FreeBSD.org>2011-05-12 14:03:29 +0000
commit2572f17fb8305451a825536bcff63a8fccbd477c (patch)
tree6381e224507c53436d6b63f676b40acbf770a7a9
parentaed257e3d8840e7e4ae6a445d46b4ec5a02ef330 (diff)
downloadFreeBSD-src-2572f17fb8305451a825536bcff63a8fccbd477c.zip
FreeBSD-src-2572f17fb8305451a825536bcff63a8fccbd477c.tar.gz
Now that the devices with functioning ps-poll hardware support have
been enumerated (merlin and later), flick this on.
-rw-r--r--sys/dev/ath/if_ath.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 9234c26..8f13b26 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -1946,17 +1946,15 @@ ath_calcrxfilter(struct ath_softc *sc)
IEEE80211_IS_CHAN_ANYG(ic->ic_curchan))
rfilt |= HAL_RX_FILTER_BEACON;
-#if 0
/*
* Enable hardware PS-POLL RX only for hostap mode;
* STA mode sends PS-POLL frames but never
* receives them.
*/
- if (ath_hal_getcapability(ah, HAL_CAP_HAS_PSPOLL,
+ if (ath_hal_getcapability(sc->sc_ah, HAL_CAP_PSPOLL,
0, NULL) == HAL_OK &&
ic->ic_opmode == IEEE80211_M_HOSTAP)
rfilt |= HAL_RX_FILTER_PSPOLL;
-#endif
if (sc->sc_nmeshvaps) {
rfilt |= HAL_RX_FILTER_BEACON;
OpenPOWER on IntegriCloud