aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-28 18:38:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-28 18:38:38 +0000
commit16e22d255996a0b8ad622207940cb3ed735f5c23 (patch)
tree96180c65c11b2b70d195952f1ce0d531ea4d12c4
parent655e90d7064778e8f3db6c2738541d195785bfba (diff)
downloadupstream-16e22d255996a0b8ad622207940cb3ed735f5c23.tar.gz
upstream-16e22d255996a0b8ad622207940cb3ed735f5c23.tar.bz2
upstream-16e22d255996a0b8ad622207940cb3ed735f5c23.zip
madwifi: fix the tx rate display in iwconfig (#6925)
SVN-Revision: 20550
-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 *