madwifi: refresh patches
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 344-minstrel_failcnt.patch
1 Index: madwifi-trunk-r3314/ath_rate/minstrel/minstrel.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath_rate/minstrel/minstrel.c
4 +++ madwifi-trunk-r3314/ath_rate/minstrel/minstrel.c
5 @@ -475,7 +475,7 @@
6 /* 'tries' is the total number of times we have endeavoured to
7 * send this packet, and is a sum of the #attempts at each
8 * level in the multi-rate retry chain */
9 - tries = ts->ts_shortretry + ts->ts_longretry + 1;
10 + tries = ts->ts_longretry + 1;
11
12 if (sn->num_rates <= 0) {
13 DPRINTF(sc, "%s: " MAC_FMT " %s no rates yet\n", dev_info,