refresh all package patches in the buildroot using quilt
[openwrt.git] / package / madwifi / patches / 119-minstrel_rates.patch
1 Index: madwifi-ng-r2420-20070602/ath_rate/minstrel/minstrel.c
2 ===================================================================
3 --- madwifi-ng-r2420-20070602.orig/ath_rate/minstrel/minstrel.c 2007-06-04 13:21:55.198585208 +0200
4 +++ madwifi-ng-r2420-20070602/ath_rate/minstrel/minstrel.c      2007-06-04 13:21:57.115293824 +0200
5 @@ -358,6 +358,8 @@
6                                         if (sn->rs_sampleColumn >= MINSTREL_COLUMNS)
7                                                 sn->rs_sampleColumn = 0;
8                                 }
9 +                               if (ndx < sn->max_prob_rate - 2)
10 +                                       ndx = sn->max_tp_rate;
11                         } else
12                                 ndx = sn->max_tp_rate;
13                  }