Skip to contentSkip to conversation

ath9k: clarify max_streams for AR9462

PATCH New Mohammed Shafi Shajakhan 1 participant 1 message Dec 1, 2011 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: clarify max_streams for AR9462

From: Mohammed Shafi Shajakhan <[email protected]>

max_streams for AR9462 is '2'. it does not fixes anything, but improves the code readability

---
 drivers/net/wireless/ath/ath9k/init.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/ath/ath9k/init.c +2 -0
index e9711e2..41b72fa 100644
@@ -258,6 +258,8 @@ static void setup_ht_cap(struct ath_softc *sc,
 
 	if (AR_SREV_9330(ah) || AR_SREV_9485(ah))
 		max_streams = 1;
+	else if (AR_SREV_9462(ah))
+		max_streams = 2;
 	else if (AR_SREV_9300_20_OR_LATER(ah))
 		max_streams = 3;
 	else
Signature · 1 line
1.7.0.4