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:01:40 +0200 |
commit | 8d049443f7e5b5922bfd51c6c5a59a3110e7cd90 (patch) | |
tree | f825381ac9d6b3b224e340dc20c74bddfd11c6b1 /net/unix/af_unix.c | |
parent | 715f6dbe9bdf6adf3b5d22d6f269f9572fe11070 (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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions