Changeset 33550


Ignore:
Timestamp:
2012-09-25T18:17:18+02:00 (5 years ago)
Author:
nbd
Message:

ath9k: fix rx filtering for older chipsets, helps with multi-bssid and mesh mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/300-pending_work.patch

    r33398 r33550  
    363363  
    364364 static DECLARE_WORK(reg_regdb_work, reg_regdb_search); 
     365--- a/drivers/net/wireless/ath/ath9k/recv.c 
     366+++ b/drivers/net/wireless/ath/ath9k/recv.c 
     367@@ -424,8 +424,8 @@ u32 ath_calcrxfilter(struct ath_softc *s 
     368                rfilt |= ATH9K_RX_FILTER_COMP_BAR; 
     369  
     370        if (sc->nvifs > 1 || (sc->rx.rxfilter & FIF_OTHER_BSS)) { 
     371-               /* The following may also be needed for other older chips */ 
     372-               if (sc->sc_ah->hw_version.macVersion == AR_SREV_VERSION_9160) 
     373+               /* This is needed for older chips */ 
     374+               if (sc->sc_ah->hw_version.macVersion <= AR_SREV_VERSION_9160) 
     375                        rfilt |= ATH9K_RX_FILTER_PROM; 
     376                rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL; 
     377        } 
Note: See TracChangeset for help on using the changeset viewer.