ddb5a066dd43590dfacf1a729df089e2d2b6015e
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 561-ath9k-use-correct-max_streams-for-AR9330.patch
1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -245,7 +245,7 @@ static void setup_ht_cap(struct ath_soft
4 ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
5 ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_8;
6
7 - if (AR_SREV_9485(ah))
8 + if (AR_SREV_9330(ah) || AR_SREV_9485(ah))
9 max_streams = 1;
10 else if (AR_SREV_9300_20_OR_LATER(ah))
11 max_streams = 3;