]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: remove ts_retry from ath5k_tx_status
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Apr 2011 16:32:17 +0000 (18:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:59:22 +0000 (16:59 -0400)
commitbd11b4b54b2683abde5d985ed28a2cdc807df3b1
treebdd65a5bffdf094f96d0f66e7c0d3a87e98547d1
parentd1440408781cc64a227f940166d767d91dab2e54
ath5k: remove ts_retry from ath5k_tx_status

Reusing the configured retry counts from the skb cb is more efficient than
reloading the data from uncached memory.
Replace ts_longretry (unused) with ts_final_retry which contains the retry
count for the final rate only

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