madwifi: fix the tx rate display in iwconfig (#6925)

SVN-Revision: 20550
lede-17.01
Felix Fietkau 2010-03-28 18:38:38 +00:00
parent 655e90d706
commit 16e22d2559
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- a/ath_rate/minstrel/minstrel.c
+++ b/ath_rate/minstrel/minstrel.c
@@ -728,6 +728,7 @@ ath_rate_statistics(struct ieee80211_nod
rn->max_tp_rate2 = index_max_tp2;
rn->max_prob_rate = index_max_prob;
rn->current_rate = index_max_tp;
+ ni->ni_txrate = index_max_tp;
}
static struct ath_ratectrl *