summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2011-12-01 18:14:01 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-12-06 16:05:25 -0500
commite7104195a9b43f05d908ced9ce5db137e1f3616b (patch)
treeae515bf7b24610d2314cf9112b9d9bacbf8a3b92
parentb9b6968b0d9d0fe3891c5f87aa6e53b7ee67cf7f (diff)
downloadblackbird-obmc-linux-e7104195a9b43f05d908ced9ce5db137e1f3616b.tar.gz
blackbird-obmc-linux-e7104195a9b43f05d908ced9ce5db137e1f3616b.zip
ath9k: clarify max_streams for AR9462
max_streams for AR9462 is '2'. it does not fixes anything, but improves the code readability Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index e9711e2b48c6..41b72faca77f 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -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
OpenPOWER on IntegriCloud