diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-11-20 17:33:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-20 17:33:46 +0000 |
commit | 9d4b7971427f808d10fd8850eabd1c4e4d1f22a9 (patch) | |
tree | ee8388bacd6d1196ce71c59f41848670047c894c /package | |
parent | bcd2c16df8140bb57594c5924b78df0d5e6cdfe2 (diff) | |
download | upstream-9d4b7971427f808d10fd8850eabd1c4e4d1f22a9.tar.gz upstream-9d4b7971427f808d10fd8850eabd1c4e4d1f22a9.tar.bz2 upstream-9d4b7971427f808d10fd8850eabd1c4e4d1f22a9.zip |
mac80211: fix an overflow issue in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38882 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/patches/300-pending_work.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/patches/300-pending_work.patch b/package/kernel/mac80211/patches/300-pending_work.patch index 5ca87b7664..60a06c60ff 100644 --- 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); } |