summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-28 18:38:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-28 18:38:38 +0000
commit0fb21e5d94d03f3d0944837fe3eb4f93523d74cd (patch)
tree87102780f2a53754ec3dc37d6c37dbe44ca53bd3
parent7f3cb597cf3e2706e5e9c51001292b0ab0b03eb4 (diff)
madwifi: fix the tx rate display in iwconfig (#6925)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20550 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/madwifi/patches/463-fix_txrate_display.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/madwifi/patches/463-fix_txrate_display.patch b/package/madwifi/patches/463-fix_txrate_display.patch
new file mode 100644
index 0000000000..0889f78fec
--- /dev/null
+++ b/package/madwifi/patches/463-fix_txrate_display.patch
@@ -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 *