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>
This commit is contained in:
Mohammed Shafi Shajakhan 2011-12-01 18:14:01 +05:30 committed by John W. Linville
parent b9b6968b0d
commit e7104195a9
1 changed files with 2 additions and 0 deletions

View File

@ -258,6 +258,8 @@ static void setup_ht_cap(struct ath_softc *sc,
if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) if (AR_SREV_9330(ah) || AR_SREV_9485(ah))
max_streams = 1; max_streams = 1;
else if (AR_SREV_9462(ah))
max_streams = 2;
else if (AR_SREV_9300_20_OR_LATER(ah)) else if (AR_SREV_9300_20_OR_LATER(ah))
max_streams = 3; max_streams = 3;
else else