diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2014-02-04 10:27:40 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:35:57 -0500 |
commit | 1274603646a82c62776680db85446f767beb9694 (patch) | |
tree | 64f86b28704c4bdeaca643976d596d93d1fd005a /drivers/net/wireless/ath/ath9k/common.h | |
parent | 32efb0cc5b614d1ca6c1804107270154c318709a (diff) | |
download | lwn-1274603646a82c62776680db85446f767beb9694.tar.gz lwn-1274603646a82c62776680db85446f767beb9694.zip |
ath9k: move ath9k_process_rate to common.c
we can reuse this function in ath9k_htc
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h index aaf4a9b5ad99..729482f4c35d 100644 --- a/drivers/net/wireless/ath/ath9k/common.h +++ b/drivers/net/wireless/ath/ath9k/common.h @@ -42,6 +42,10 @@ #define ATH_EP_RND(x, mul) \ (((x) + ((mul)/2)) / (mul)) +int ath9k_cmn_process_rate(struct ath_common *common, + struct ieee80211_hw *hw, + struct ath_rx_status *rx_stats, + struct ieee80211_rx_status *rxs); void ath9k_cmn_process_rssi(struct ath_common *common, struct ieee80211_hw *hw, struct ath_rx_status *rx_stats, |