madwifi: fix the tx rate display in iwconfig (#6925)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 28 Mar 2010 18:38:38 +0000 (18:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 28 Mar 2010 18:38:38 +0000 (18:38 +0000)
SVN-Revision: 20550

package/madwifi/patches/463-fix_txrate_display.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/463-fix_txrate_display.patch b/package/madwifi/patches/463-fix_txrate_display.patch
new file mode 100644 (file)
index 0000000..0889f78
--- /dev/null
@@ -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 *