From cff0e47587ae0d77bd2d5c39c5998e7d531a1690 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 23 Apr 2008 00:26:54 +0000 Subject: [PATCH] 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 --- ath_rate/minstrel/minstrel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ath_rate/minstrel/minstrel.c b/ath_rate/minstrel/minstrel.c index 7e73aca..67e1246 100644 --- a/ath_rate/minstrel/minstrel.c +++ b/ath_rate/minstrel/minstrel.c @@ -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,