summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath9k/reg.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-03-06 11:08:53 +0300
committerJohn W. Linville <linville@tuxdriver.com>2009-03-17 01:09:32 +0300
commit6b765deb01dd076e64a4b01d2101d74206e7df84 (patch)
treeeb9069c2982de78d040331ab134bf45ace94f98a /drivers/net/wireless/ath9k/reg.h
parentd4376ebe168024695f15bfdf603ea6f083dc80f8 (diff)
downloadlinux-6b765deb01dd076e64a4b01d2101d74206e7df84.tar.xz
ath9k: fix AR_SREV_9100_OR_LATER macro
The current macro is wrong, because detects some AR5416 devices as an AR9100 device. The AR5416 devices would have performance issues after this change, because the contents of the ar5416 specific and of the ar9100 specificinitval arrays are swapped. Fortunately we can correct this with the rename of the arrays simply. Changes-licesed-under: ISC Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/reg.h')
-rw-r--r--drivers/net/wireless/ath9k/reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/reg.h b/drivers/net/wireless/ath9k/reg.h
index 1be4c71935ea..d86e90e38173 100644
--- a/drivers/net/wireless/ath9k/reg.h
+++ b/drivers/net/wireless/ath9k/reg.h
@@ -754,7 +754,7 @@
#define AR_SREV_9100(ah) \
((ah->hw_version.macVersion) == AR_SREV_VERSION_9100)
#define AR_SREV_9100_OR_LATER(_ah) \
- (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_5416_PCIE))
+ (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
#define AR_SREV_9160(_ah) \
(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9160))