1 Index: trunk/ath_rate/minstrel/minstrel.c
2 ===================================================================
3 --- trunk/ath_rate/minstrel/minstrel.c (revision 3065)
4 +++ trunk/ath_rate/minstrel/minstrel.c (working copy)
6 const struct ath_desc *ds = &bf->bf_desc[0];
12 int rate0, tries0, ndx0;
14 mrr = sc->sc_mrretry && !(ic->ic_flags & IEEE80211_F_USEPROT) && ENABLE_MRR;
17 - if ((0 <= ndx) && (ndx < sn->num_rates)) {
18 - sn->rs_rateattempts[ndx]++; /* only one rate was used */
19 + if ((0 <= final_ndx) && (final_ndx < sn->num_rates)) {
20 + sn->rs_rateattempts[final_ndx] += tries; /* only one rate was used */