projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: fix an overflow issue in minstrel_ht
[openwrt/staging/yousong.git]
/
package
/
kernel
/
mac80211
/
patches
/
300-pending_work.patch
diff --git
a/package/kernel/mac80211/patches/300-pending_work.patch
b/package/kernel/mac80211/patches/300-pending_work.patch
index 5ca87b766461f4e9966a02c788abfe80f7b473bb..60a06c60ff3ac1f8739c40f44c18a3bd85053c21 100644
(file)
--- a/
package/kernel/mac80211/patches/300-pending_work.patch
+++ b/
package/kernel/mac80211/patches/300-pending_work.patch
@@
-4758,7
+4758,7
@@
nsecs += minstrel_mcs_groups[group].duration[rate];
- tp = 1000000 * ((mr->probability * 1000) / nsecs);
-+ tp = 1000000 * (
prob * 1000) / nsecs
;
++ tp = 1000000 * (
(prob * 1000) / nsecs)
;
mr->cur_tp = MINSTREL_TRUNC(tp);
}