madwifi: fix the tx rate display in iwconfig (#6925)
[openwrt-10.03/.git] / package / madwifi / patches / 463-fix_txrate_display.patch
1 --- a/ath_rate/minstrel/minstrel.c
2 +++ b/ath_rate/minstrel/minstrel.c
3 @@ -728,6 +728,7 @@ ath_rate_statistics(struct ieee80211_nod
4                 rn->max_tp_rate2  = index_max_tp2;
5                 rn->max_prob_rate = index_max_prob;
6                 rn->current_rate  = index_max_tp;
7 +               ni->ni_txrate = index_max_tp;
8  }
9  
10  static struct ath_ratectrl *