diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-11 23:30:57 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-14 13:39:59 -0400 |
commit | 2297f1c7beec785e437da3da0157666bca525c99 (patch) | |
tree | 1c6e13d2725f847fda293d2887a0c7f3befdbf35 /drivers/net/wireless/ath/ath9k/common.h | |
parent | 6b21fd2027f8deb6fb7d3283b4c2eacabc8eeb95 (diff) | |
download | op-kernel-dev-2297f1c7beec785e437da3da0157666bca525c99.zip op-kernel-dev-2297f1c7beec785e437da3da0157666bca525c99.tar.gz |
ath9k: make ath9k_cmn_update_ichannel static
Rework its wrapper function to make it more generic, using it as a
replacement for previous calls to ath9k_cmn_update_ichannel.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/common.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h index e039bcb..eb85e1b 100644 --- a/drivers/net/wireless/ath/ath9k/common.h +++ b/drivers/net/wireless/ath/ath9k/common.h @@ -43,10 +43,9 @@ (((x) + ((mul)/2)) / (mul)) int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb); -void ath9k_cmn_update_ichannel(struct ath9k_channel *ichan, - struct cfg80211_chan_def *chandef); -struct ath9k_channel *ath9k_cmn_get_curchannel(struct ieee80211_hw *hw, - struct ath_hw *ah); +struct ath9k_channel *ath9k_cmn_get_channel(struct ieee80211_hw *hw, + struct ath_hw *ah, + struct cfg80211_chan_def *chandef); int ath9k_cmn_count_streams(unsigned int chainmask, int max); void ath9k_cmn_btcoex_bt_stomp(struct ath_common *common, enum ath_stomp_type stomp_type); |