mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 17:47:31 +02:00
04ce7928c6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11868 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
236 B
Diff
13 lines
236 B
Diff
--- a/ath_rate/minstrel/minstrel.c
|
|
+++ b/ath_rate/minstrel/minstrel.c
|
|
@@ -415,6 +415,9 @@
|
|
return;
|
|
}
|
|
|
|
+ if (sn->num_rates <= 0)
|
|
+ return;
|
|
+
|
|
if (sn->is_sampling) {
|
|
sn->is_sampling = 0;
|
|
if (sn->rs_sample_rate_slower)
|