1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 16:40:37 +02:00
openwrt-xburst/package/madwifi/patches/463-fix_txrate_display.patch
nbd 0fb21e5d94 madwifi: fix the tx rate display in iwconfig (#6925)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:38:38 +00:00

11 lines
313 B
Diff

--- 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 *