mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 21:25:31 +02:00
e1d447b017
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7437 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
475 B
Diff
13 lines
475 B
Diff
diff -ur madwifi.old/ath_rate/minstrel/minstrel.c madwifi.dev/ath_rate/minstrel/minstrel.c
|
|
--- madwifi.old/ath_rate/minstrel/minstrel.c 2007-06-01 16:44:25.137903000 +0200
|
|
+++ madwifi.dev/ath_rate/minstrel/minstrel.c 2007-06-01 22:03:15.408659936 +0200
|
|
@@ -358,6 +358,8 @@
|
|
if (sn->rs_sampleColumn >= MINSTREL_COLUMNS)
|
|
sn->rs_sampleColumn = 0;
|
|
}
|
|
+ if (ndx < sn->max_prob_rate - 2)
|
|
+ ndx = sn->max_tp_rate;
|
|
} else
|
|
ndx = sn->max_tp_rate;
|
|
}
|