ath9k: fix rx filtering for older chipsets, helps with multi-bssid and mesh mode
SVN-Revision: 33550
This commit is contained in:
parent
d8c04821c3
commit
c4ed9131ee
1 changed files with 13 additions and 0 deletions
|
@ -362,3 +362,16 @@
|
|||
}
|
||||
|
||||
static DECLARE_WORK(reg_regdb_work, reg_regdb_search);
|
||||
--- a/drivers/net/wireless/ath/ath9k/recv.c
|
||||
+++ b/drivers/net/wireless/ath/ath9k/recv.c
|
||||
@@ -424,8 +424,8 @@ u32 ath_calcrxfilter(struct ath_softc *s
|
||||
rfilt |= ATH9K_RX_FILTER_COMP_BAR;
|
||||
|
||||
if (sc->nvifs > 1 || (sc->rx.rxfilter & FIF_OTHER_BSS)) {
|
||||
- /* The following may also be needed for other older chips */
|
||||
- if (sc->sc_ah->hw_version.macVersion == AR_SREV_VERSION_9160)
|
||||
+ /* This is needed for older chips */
|
||||
+ if (sc->sc_ah->hw_version.macVersion <= AR_SREV_VERSION_9160)
|
||||
rfilt |= ATH9K_RX_FILTER_PROM;
|
||||
rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue