Commit 527d485f authored by Sujith's avatar Sujith Committed by John W. Linville

ath9k_hw: skip chip tests for AR9271

The chip test is not required for AR9271 on the host driver
code as the firmware will do the test internally on its own.
Signed-off-by: default avatarSujith <Sujith.Manoharan@atheros.com>
Signed-off-by: default avatarVasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5b5fa355
...@@ -499,8 +499,10 @@ static int ath9k_hw_post_init(struct ath_hw *ah) ...@@ -499,8 +499,10 @@ static int ath9k_hw_post_init(struct ath_hw *ah)
{ {
int ecode; int ecode;
if (!ath9k_hw_chip_test(ah)) if (!AR_SREV_9271(ah)) {
return -ENODEV; if (!ath9k_hw_chip_test(ah))
return -ENODEV;
}
ecode = ath9k_hw_rf_claim(ah); ecode = ath9k_hw_rf_claim(ah);
if (ecode != 0) if (ecode != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment