diff options
author | Lachlan Hodges <lachlan.hodges@morsemicro.com> | 2025-06-21 22:32:09 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:15 +0200 |
commit | df384ab5d8ae6d0499603a4b78522513aa962b78 (patch) | |
tree | 139772f7f0b87a8a97df9493a9877d44aa25f80e /tools/perf/scripts/python/sched-migration.py | |
parent | f05a4f9e959e0fc098046044c650acf897ea52d2 (diff) |
wifi: mac80211: fix beacon interval calculation overflow
[ Upstream commit 7a3750ff0f2e8fee338a9c168f429f6c37f0e820 ]
As we are converting from TU to usecs, a beacon interval of
100*1024 usecs will lead to integer wrapping. To fix change
to use a u32.
Fixes: 057d5f4ba1e4 ("mac80211: sync dtim_count to TSF")
Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20250621123209.511796-1-lachlan.hodges@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions