madwifi: improve automatic channel selection by taking idle airtime into account
[openwrt.git] / package / madwifi / patches / 344-minstrel_failcnt.patch
1 --- a/ath_rate/minstrel/minstrel.c
2 +++ b/ath_rate/minstrel/minstrel.c
3 @@ -475,7 +475,7 @@ ath_rate_tx_complete(struct ath_softc *s
4 /* 'tries' is the total number of times we have endeavoured to
5 * send this packet, and is a sum of the #attempts at each
6 * level in the multi-rate retry chain */
7 - tries = ts->ts_shortretry + ts->ts_longretry + 1;
8 + tries = ts->ts_longretry + 1;
9
10 if (sn->num_rates <= 0) {
11 DPRINTF(sc, "%s: " MAC_FMT " %s no rates yet\n", dev_info,
This page took 0.047399 seconds and 5 git commands to generate.