diff options
author | Senthil Balasubramanian <senthilkumar@atheros.com> | 2009-03-06 00:54:11 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-16 18:09:31 -0400 |
commit | 978b53264235eef1d2d2e9fd16ae26b3471c0b57 (patch) | |
tree | b5e9d9f27a2800c2bd54e10556e1441949ae91ef | |
parent | 4e845168380a5954dd8702be5229e3e1b477ed81 (diff) |
ath9k: Incorrect AR9285 version check macro
Fix AR9285 1.1 and 1.2 version check macro.
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath9k/reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/reg.h b/drivers/net/wireless/ath9k/reg.h index 91442da18183..d7b8c571e91e 100644 --- a/drivers/net/wireless/ath9k/reg.h +++ b/drivers/net/wireless/ath9k/reg.h | |||
@@ -778,14 +778,14 @@ | |||
778 | #define AR_SREV_9285_10_OR_LATER(_ah) \ | 778 | #define AR_SREV_9285_10_OR_LATER(_ah) \ |
779 | (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9285)) | 779 | (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9285)) |
780 | #define AR_SREV_9285_11(_ah) \ | 780 | #define AR_SREV_9285_11(_ah) \ |
781 | (AR_SREV_9280(ah) && \ | 781 | (AR_SREV_9285(ah) && \ |
782 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_11)) | 782 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_11)) |
783 | #define AR_SREV_9285_11_OR_LATER(_ah) \ | 783 | #define AR_SREV_9285_11_OR_LATER(_ah) \ |
784 | (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \ | 784 | (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \ |
785 | (AR_SREV_9285(ah) && ((_ah)->hw_version.macRev >= \ | 785 | (AR_SREV_9285(ah) && ((_ah)->hw_version.macRev >= \ |
786 | AR_SREV_REVISION_9285_11))) | 786 | AR_SREV_REVISION_9285_11))) |
787 | #define AR_SREV_9285_12(_ah) \ | 787 | #define AR_SREV_9285_12(_ah) \ |
788 | (AR_SREV_9280(ah) && \ | 788 | (AR_SREV_9285(ah) && \ |
789 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_12)) | 789 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_12)) |
790 | #define AR_SREV_9285_12_OR_LATER(_ah) \ | 790 | #define AR_SREV_9285_12_OR_LATER(_ah) \ |
791 | (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \ | 791 | (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \ |