Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -499,8 +499,10 @@ static int ath9k_hw_post_init(struct ath_hw *ah)
{
	int ecode;

	if (!AR_SREV_9271(ah)) {
		if (!ath9k_hw_chip_test(ah))
			return -ENODEV;
	}

	ecode = ath9k_hw_rf_claim(ah);
	if (ecode != 0)