diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2024-12-09 12:20:19 +0800 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-12-12 11:06:19 +0800 |
commit | b6c10a19363787ffdffe08049b9e0b71c101d401 (patch) | |
tree | 86d7d7c1061b1141b5410f4d43816e25a5def841 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b59b86c5d08be7d761c04affcbcec8184738c200 (diff) |
wifi: rtw89: 8852c: rfk: refine target channel calculation in _rx_dck_channel_calc()
The channel is not possibly 0, so original code is fine. Still want to
avoid Coverity warning, so ensure -32 offset for the channel number which
is larger than 125 only. Actually, don't change logic at all.
Addresses-Coverity-ID: 1628150 ("Overflowed constant")
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241209042020.21290-1-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions