minstrel: Don't count short retries as rate failures. These only specify

RTS/CTS failures which are rate independent.

Acked-by: Derek Smithies



git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3562 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
nbd 2008-04-23 00:26:54 +00:00
parent 96adde4c63
commit cff0e47587
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ ath_rate_tx_complete(struct ath_softc *sc,
/* 'tries' is the total number of times we have endeavoured to
* send this packet, and is a sum of the #attempts at each
* level in the multi-rate retry chain. */
tries = ts->ts_shortretry + ts->ts_longretry + 1;
tries = ts->ts_longretry + 1;
if (sn->num_rates <= 0) {
DPRINTF(sc, "%s: " MAC_FMT " %s no rates yet\n", dev_info,