Explicitly enable probe request frame reception when not in station mode;
this is needed for the 5212 which a separate filter bit for these frames. Submitted by: Stephane Laroche <stephane.laroche@colubris.com>
This commit is contained in:
parent
1d49585050
commit
f07a6d989f
@ -899,6 +899,8 @@ ath_mode_init(struct ath_softc *sc)
|
||||
/* receive filter */
|
||||
rfilt = (ath_hal_getrxfilter(ah) & HAL_RX_FILTER_PHYERR)
|
||||
| HAL_RX_FILTER_UCAST | HAL_RX_FILTER_BCAST | HAL_RX_FILTER_MCAST;
|
||||
if (ic->ic_opmode != IEEE80211_M_STA)
|
||||
rfilt |= HAL_RX_FILTER_PROBEREQ;
|
||||
if (ic->ic_opmode != IEEE80211_M_HOSTAP &&
|
||||
(ifp->if_flags & IFF_PROMISC))
|
||||
rfilt |= HAL_RX_FILTER_PROM;
|
||||
@ -2231,6 +2233,8 @@ ath_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
|
||||
goto bad;
|
||||
rfilt = (ath_hal_getrxfilter(ah) & HAL_RX_FILTER_PHYERR)
|
||||
| HAL_RX_FILTER_UCAST | HAL_RX_FILTER_BCAST | HAL_RX_FILTER_MCAST;
|
||||
if (ic->ic_opmode != IEEE80211_M_STA)
|
||||
rfilt |= HAL_RX_FILTER_PROBEREQ;
|
||||
if (ic->ic_opmode != IEEE80211_M_HOSTAP &&
|
||||
(ifp->if_flags & IFF_PROMISC))
|
||||
rfilt |= HAL_RX_FILTER_PROM;
|
||||
|
Loading…
x
Reference in New Issue
Block a user