diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2011-12-01 07:44:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-06 16:05:25 -0500 |
commit | e7104195a9b43f05d908ced9ce5db137e1f3616b (patch) | |
tree | ae515bf7b24610d2314cf9112b9d9bacbf8a3b92 /drivers/net/wireless/ath/ath9k/init.c | |
parent | b9b6968b0d9d0fe3891c5f87aa6e53b7ee67cf7f (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 2 |
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, | |||
258 | 258 | ||
259 | if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) | 259 | if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) |
260 | max_streams = 1; | 260 | max_streams = 1; |
261 | else if (AR_SREV_9462(ah)) | ||
262 | max_streams = 2; | ||
261 | else if (AR_SREV_9300_20_OR_LATER(ah)) | 263 | else if (AR_SREV_9300_20_OR_LATER(ah)) |
262 | max_streams = 3; | 264 | max_streams = 3; |
263 | else | 265 | else |