]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ath9k: Fix typo in checking for chip revision
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 29 Jan 2009 06:07:35 +0000 (11:37 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:39 +0000 (15:03 -0500)
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/hw.c

index 77282345efc1748c00ed25acf90fec95d9a94532..00ed44a0c313a5cc3a046224e1b7bb4ad2bca84c 100644 (file)
@@ -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);