forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
4e84516838
commit
978b532642
@ -778,14 +778,14 @@
|
||||
#define AR_SREV_9285_10_OR_LATER(_ah) \
|
||||
(((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9285))
|
||||
#define AR_SREV_9285_11(_ah) \
|
||||
(AR_SREV_9280(ah) && \
|
||||
(AR_SREV_9285(ah) && \
|
||||
((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_11))
|
||||
#define AR_SREV_9285_11_OR_LATER(_ah) \
|
||||
(((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \
|
||||
(AR_SREV_9285(ah) && ((_ah)->hw_version.macRev >= \
|
||||
AR_SREV_REVISION_9285_11)))
|
||||
#define AR_SREV_9285_12(_ah) \
|
||||
(AR_SREV_9280(ah) && \
|
||||
(AR_SREV_9285(ah) && \
|
||||
((_ah)->hw_version.macRev == AR_SREV_REVISION_9285_12))
|
||||
#define AR_SREV_9285_12_OR_LATER(_ah) \
|
||||
(((_ah)->hw_version.macVersion > AR_SREV_VERSION_9285) || \
|
||||
|
Loading…
Reference in New Issue
Block a user