summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-01-29 07:07:35 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 21:03:39 +0100
commitfeed029cd63ee14df85afbe1583960c0e983a0ed (patch)
tree216d4a5fc14405ff44a9057b7bab95d1629527b4 /drivers/net
parentmac80211: Reset assoc_scan_tries after an unsuccessful scan run (diff)
downloadlinux-feed029cd63ee14df85afbe1583960c0e983a0ed.tar.xz
linux-feed029cd63ee14df85afbe1583960c0e983a0ed.zip
ath9k: Fix typo in checking for chip revision
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath9k/hw.c2
1 files changed, 1 insertions, 1 deletions
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);