reorder patches
[openwrt-10.03/.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       2008-04-21 00:51:15.000000000 +0200
4 +++ madwifi-trunk-r3314/ath_rate/minstrel/minstrel.c    2008-04-21 02:41:27.000000000 +0200
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,