dfcd340721
Add patches from Hauke adding linux 3.0 compatibility. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 27187
12 lines
410 B
Diff
12 lines
410 B
Diff
--- a/drivers/net/wireless/ath/ath9k/init.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/init.c
|
|
@@ -245,7 +245,7 @@ static void setup_ht_cap(struct ath_soft
|
|
ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
|
|
ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_8;
|
|
|
|
- if (AR_SREV_9485(ah))
|
|
+ if (AR_SREV_9330(ah) || AR_SREV_9485(ah))
|
|
max_streams = 1;
|
|
else if (AR_SREV_9300_20_OR_LATER(ah))
|
|
max_streams = 3;
|