]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: Fix typo in chip version check
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Wed, 21 Jan 2009 11:48:48 +0000 (17:18 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:07 +0000 (16:01 -0500)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/hw.c

index ab15e55317c662f6483a6c29b478d6f4bb2ddf9d..baa7a7e47c2b92e054c47f30663cf48bac056063 100644 (file)
@@ -2255,7 +2255,7 @@ int ath9k_hw_reset(struct ath_hal *ah, struct ath9k_channel *chan,
                return -EINVAL;
        }
 
-       if (AR_SREV_9280(ah)) {
+       if (AR_SREV_9280_10_OR_LATER(ah)) {
                REG_SET_BIT(ah, AR_GPIO_INPUT_EN_VAL,
                            AR_GPIO_JTAG_DISABLE);