projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rename patches-r3776 to patches-testing
[openwrt.git]
/
package
/
madwifi
/
patches-testing
/
111-minstrel_crash.patch
1
--- a/ath_rate/minstrel/minstrel.c
2
+++ b/ath_rate/minstrel/minstrel.c
3
@@ -415,6 +415,9 @@
4
return;
5
}
6
7
+ if (sn->num_rates <= 0)
8
+ return;
9
+
10
if (sn->is_sampling) {
11
sn->is_sampling = 0;
12
if (sn->rs_sample_rate_slower)