From: Sujith Date: Thu, 29 Jan 2009 06:07:35 +0000 (+0530) Subject: ath9k: Fix typo in checking for chip revision X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=feed029cd63ee14df85afbe1583960c0e983a0ed;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ath9k: Fix typo in checking for chip revision Signed-off-by: Sujith Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index 77282345efc1..00ed44a0c313 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -267,7 +267,7 @@ static int ath9k_hw_get_radiorev(struct ath_hal *ah) static void ath9k_hw_disablepcie(struct ath_hal *ah) { - if (!AR_SREV_9100(ah)) + if (AR_SREV_9100(ah)) return; REG_WRITE(ah, AR_PCIE_SERDES, 0x9248fc00);