diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-08-04 08:51:57 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-05 18:52:42 (GMT) |
commit | d8d7744b72b56587b39fb4ecc2cbfb3d8cb734a4 (patch) | |
tree | 1473e9ee19f8ba5606509fcb4c6c2f31448e480a /drivers/net/wireless/ath/ath9k/hw-ops.h | |
parent | 3f2da95517029d88365a074ef81a928a99871964 (diff) | |
download | linux-d8d7744b72b56587b39fb4ecc2cbfb3d8cb734a4.tar.xz |
ath9k: Rename ath9k_hw_antctrl_shared_chain_lnadiv
Use "ath9k_hw_set_bt_ant_diversity" instead.
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/hw-ops.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw-ops.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h index 14b7011..a78d48c 100644 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h @@ -78,11 +78,10 @@ static inline void ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah, ath9k_hw_ops(ah)->antdiv_comb_conf_set(ah, antconf); } -static inline void ath9k_hw_antctrl_shared_chain_lnadiv(struct ath_hw *ah, - bool enable) +static inline void ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) { - if (ath9k_hw_ops(ah)->antctrl_shared_chain_lnadiv) - ath9k_hw_ops(ah)->antctrl_shared_chain_lnadiv(ah, enable); + if (ath9k_hw_ops(ah)->set_bt_ant_diversity) + ath9k_hw_ops(ah)->set_bt_ant_diversity(ah, enable); } /* Private hardware call ops */ |