summaryrefslogtreecommitdiffstats
path: root/crypto/async_tx
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-03-21 15:07:55 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 20:15:16 +0200
commitbe7974aa105dc47bb25013016d1fcad17da17783 (patch)
treecd3b3f344de20720e7b65a84a88c8d1b4b99e3f3 /crypto/async_tx
parentath9k: remove the pending frames ath_txq_schedule workaround (diff)
downloadlinux-be7974aa105dc47bb25013016d1fcad17da17783.tar.xz
linux-be7974aa105dc47bb25013016d1fcad17da17783.zip
mac80211: Minor optimization in tx status handling
ieee80211_tx_status iterates over all tx rates the driver reports back in order to 1) mark tx rates as invalid if the driver cannot have tried that rate 2) find the actually used tx rate for the final retransmission By leaving the for loop when the first invalid rate index is found we can move the rates_idx assignment after the loop and therefore save a few assignments and conditionals. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions