1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 20:50:20 +02:00
openwrt-xburst/package/madwifi/patches/119-minstrel_rates.patch
nbd 1f9285016a update to the latest madwifi snapshot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-03 21:03:58 +00:00

14 lines
547 B
Diff

Index: madwifi-ng-r2525-20070630/ath_rate/minstrel/minstrel.c
===================================================================
--- madwifi-ng-r2525-20070630.orig/ath_rate/minstrel/minstrel.c 2007-07-03 23:02:28.825845250 +0200
+++ madwifi-ng-r2525-20070630/ath_rate/minstrel/minstrel.c 2007-07-03 23:02:30.209931750 +0200
@@ -359,6 +359,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;
}