diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-06-18 09:32:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-20 15:14:51 -0400 |
commit | e1ecad78e5c5c32f331925f340141a38aaa64cef (patch) | |
tree | 0e91d6d7041015d2ced5629086180a819548a50b /drivers/net/wireless/ath/ath9k/hw.h | |
parent | a68807e9177a083dc09c24b141158539d71db21c (diff) |
ath9k: fix mci_is_enabled utility
During driver stop, btcoex is disabled and also btcoex_hw.enabled
is set to false. Afterwards mci_is_enabled returns false so that
BT is not gaining SPDT control on WLAN sleep. Fix that.
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index b49e4b48f459..94096607cbdd 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -1030,7 +1030,8 @@ static inline bool ath9k_hw_btcoex_is_enabled(struct ath_hw *ah) | |||
1030 | } | 1030 | } |
1031 | static inline bool ath9k_hw_mci_is_enabled(struct ath_hw *ah) | 1031 | static inline bool ath9k_hw_mci_is_enabled(struct ath_hw *ah) |
1032 | { | 1032 | { |
1033 | return ah->btcoex_hw.enabled && (ah->caps.hw_caps & ATH9K_HW_CAP_MCI); | 1033 | return ah->common.btcoex_enabled && |
1034 | (ah->caps.hw_caps & ATH9K_HW_CAP_MCI); | ||
1034 | 1035 | ||
1035 | } | 1036 | } |
1036 | void ath9k_hw_btcoex_enable(struct ath_hw *ah); | 1037 | void ath9k_hw_btcoex_enable(struct ath_hw *ah); |