aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw-ops.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-08-04 04:51:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-08-05 14:52:42 -0400
commitd8d7744b72b56587b39fb4ecc2cbfb3d8cb734a4 (patch)
tree1473e9ee19f8ba5606509fcb4c6c2f31448e480a /drivers/net/wireless/ath/ath9k/hw-ops.h
parent3f2da95517029d88365a074ef81a928a99871964 (diff)
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.h7
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 14b701140b49..a78d48c3ad21 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,
78 ath9k_hw_ops(ah)->antdiv_comb_conf_set(ah, antconf); 78 ath9k_hw_ops(ah)->antdiv_comb_conf_set(ah, antconf);
79} 79}
80 80
81static inline void ath9k_hw_antctrl_shared_chain_lnadiv(struct ath_hw *ah, 81static inline void ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable)
82 bool enable)
83{ 82{
84 if (ath9k_hw_ops(ah)->antctrl_shared_chain_lnadiv) 83 if (ath9k_hw_ops(ah)->set_bt_ant_diversity)
85 ath9k_hw_ops(ah)->antctrl_shared_chain_lnadiv(ah, enable); 84 ath9k_hw_ops(ah)->set_bt_ant_diversity(ah, enable);
86} 85}
87 86
88/* Private hardware call ops */ 87/* Private hardware call ops */