summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/mac.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-03-06 09:08:51 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-16 18:09:31 -0400
commita8c96d3b225d4c9e6ff341923e3f76de401c75b2 (patch)
treee6056b9520e58fafc7db2de5152ead43e013a696 /drivers/net/wireless/ath9k/mac.h
parent978b53264235eef1d2d2e9fd16ae26b3471c0b57 (diff)
ath9k: cleanup AR5416 version checking macros
Currently we have two different versions of this macros. Because they would have to do the same thing, we should simplify and merge them. Changes-licensed-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/mac.h')
-rw-r--r--drivers/net/wireless/ath9k/mac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/mac.h b/drivers/net/wireless/ath9k/mac.h
index 37e3948ddc2..a75f65dae1d 100644
--- a/drivers/net/wireless/ath9k/mac.h
+++ b/drivers/net/wireless/ath9k/mac.h
@@ -17,7 +17,7 @@
#ifndef MAC_H
#define MAC_H
-#define RXSTATUS_RATE(ah, ads) (AR_SREV_5416_V20_OR_LATER(ah) ? \
+#define RXSTATUS_RATE(ah, ads) (AR_SREV_5416_20_OR_LATER(ah) ? \
MS(ads->ds_rxstatus0, AR_RxRate) : \
(ads->ds_rxstatus3 >> 2) & 0xFF)