diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-09-20 13:45:39 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-21 11:05:34 -0400 |
commit | 334b06029ed3f5e31d773527d54fb40e3ee571f9 (patch) | |
tree | e37310774c076522ff9086c3e3114379959fa265 /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | 90fa539ca3f07323da5a90f5c8f4e5cd952875e7 (diff) | |
download | op-kernel-dev-334b06029ed3f5e31d773527d54fb40e3ee571f9.zip op-kernel-dev-334b06029ed3f5e31d773527d54fb40e3ee571f9.tar.gz |
ath9k: move ath_tx_aggr_check() to the rate control module
It is not used anywhere else and can be made static
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/xmit.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index e53433e..85a7323 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c @@ -855,20 +855,6 @@ void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid } } -bool ath_tx_aggr_check(struct ath_softc *sc, struct ath_node *an, u8 tidno) -{ - struct ath_atx_tid *txtid; - - if (!(sc->sc_flags & SC_OP_TXAGGR)) - return false; - - txtid = ATH_AN_2_TID(an, tidno); - - if (!(txtid->state & (AGGR_ADDBA_COMPLETE | AGGR_ADDBA_PROGRESS))) - return true; - return false; -} - /********************/ /* Queue Management */ /********************/ |