blob: dd96c4e60f2b3b2c73fe28e4850359dd644092f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- 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)
|