diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-08-19 05:33:43 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-22 18:30:29 (GMT) |
commit | fb5a2dcbbcf19f8ff7e5312b2340460bc03a4b89 (patch) | |
tree | d278d9fcbb666addce98a30e4fc34db1d091d2e5 /drivers/net/wireless/ath/ath9k/reg.h | |
parent | e979a8ab204edbf7b0815162109ee9c85e4d7ea5 (diff) | |
download | linux-fb5a2dcbbcf19f8ff7e5312b2340460bc03a4b89.tar.xz |
ath9k: Add support for AR9485 1.2
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/reg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index 5af9744..a13b2d1 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h @@ -893,9 +893,9 @@ #define AR_SREV_9485(_ah) \ (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485)) -#define AR_SREV_9485_11(_ah) \ - (AR_SREV_9485(_ah) && \ - ((_ah)->hw_version.macRev == AR_SREV_REVISION_9485_11)) +#define AR_SREV_9485_11_OR_LATER(_ah) \ + (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485) && \ + ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9485_11)) #define AR_SREV_9485_OR_LATER(_ah) \ (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9485)) |