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: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
5b5fa3558d
commit
527d485fd8
|
@ -499,8 +499,10 @@ static int ath9k_hw_post_init(struct ath_hw *ah)
|
|||
{
|
||||
int ecode;
|
||||
|
||||
if (!ath9k_hw_chip_test(ah))
|
||||
return -ENODEV;
|
||||
if (!AR_SREV_9271(ah)) {
|
||||
if (!ath9k_hw_chip_test(ah))
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
ecode = ath9k_hw_rf_claim(ah);
|
||||
if (ecode != 0)
|
||||
|
|
Loading…
Reference in New Issue