diff options
author | Harshitha Prem <[email protected]> | 2023-08-26 08:42:44 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-09-05 16:26:32 +0300 |
commit | d48f55e773dcce8fcf9e587073452a4944011b11 (patch) | |
tree | 8d482de3199737c31a42de3323d9bffc1bfb44fb /tools/perf/scripts/python/sctop.py | |
parent | bbc86757ca62423c3b6bd8f7176da1ff43450769 (diff) |
wifi: ath12k: fix undefined behavior with __fls in dp
When max virtual ap interfaces are configured in all the bands
with ACS and hostapd restart is done every 60s,
a crash is observed at random times because of handling the
uninitialized peer fragments with fragment id of packet as 0.
"__fls" would have an undefined behavior if the argument is passed
as "0". Hence, added changes to handle the same.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Harshitha Prem <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions