Skip to content

Commit

Permalink
ath9k_hw: skip chip tests for AR9271
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sujith authored and John W. Linville committed Mar 23, 2010
1 parent 5b5fa35 commit 527d485
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 527d485

Please sign in to comment.