diff options
| author | StanleyYP Wang <StanleyYP.Wang@mediatek.com> | 2026-07-24 12:47:57 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-07-31 12:25:41 +0000 |
| commit | dbca5c4d29826cecd3185fb1ae2746205ab55127 (patch) | |
| tree | c090c7560ade6cfb47aecc8472118b978b18de00 /tools/perf/scripts/python/bin | |
| parent | 04280d0a56be4264720e7b205daaa332c715e5ec (diff) | |
wifi: mt76: mt7996: add missing rdd_idx check when enabling background radar
Add the missing rdd idx check (< 0) in
mt7996_mcu_rdd_background_enable(). mt7996_get_rdd_idx() returns -1
for phys without 5 GHz support, and the negative index was passed to
the RDD MCU command unchecked.
Fixes: 1529e335f93d ("wifi: mt76: mt7996: rework radar HWRDD idx")
Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
Link: https://patch.msgid.link/20260724124813.3961474-13-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
