source: trunk/package/mac80211/patches/561-ath9k-use-correct-max_streams-for-AR9330.patch @ 27187

Last change on this file since 27187 was 27187, checked in by hauke, 5 years ago

package/mac80211: Add linux 3.0 compatibility

Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

File size: 410 bytes
  • drivers/net/wireless/ath/ath9k/init.c

    a b static void setup_ht_cap(struct ath_soft 
    245245        ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; 
    246246        ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_8; 
    247247 
    248         if (AR_SREV_9485(ah)) 
     248        if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) 
    249249                max_streams = 1; 
    250250        else if (AR_SREV_9300_20_OR_LATER(ah)) 
    251251                max_streams = 3; 
Note: See TracBrowser for help on using the repository browser.