ath9k: optimize ath_tx_rc_status usage
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 19:24:26 +0000 (21:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Sep 2011 20:45:41 +0000 (16:45 -0400)
commit3afd21e7c5b3b6312193fbee628b000dce82ecf5
tree1d2ec443c77b14bcd9cbad4ce4612091c387292e
parentbdf2dbfb084f421dc6dc2f2234194ddb6ec2ea8d
ath9k: optimize ath_tx_rc_status usage

The only flag that needs to be set when ath_tx_rc_status is called with
rc_update == false is the IEEE80211_TX_STAT_TX_FILTERED flag. All other
data is ignored in that case.
This flag can be set from ath_tx_complete_buf instead, so that we can
drop a few redundant calls to ath_tx_rc_status and remove the rc_update
function parameter

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c