diff options
author | Muhammad Usama Anjum <[email protected]> | 2024-03-01 19:44:06 +0500 |
---|---|---|
committer | Felix Fietkau <[email protected]> | 2024-05-02 12:44:50 +0200 |
commit | cb47c7be0e93dd5acda078163799401ac3a78e10 (patch) | |
tree | 77704de53b17a7cf0260575508d6e2ea70ec9fd0 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 21de5f72260b4246e2415bc900c18139bc52ea80 (diff) |
wifi: mt76: connac: check for null before dereferencing
The wcid can be NULL. It should be checked for validity before
dereferencing it to avoid crash.
Fixes: 098428c400ff ("wifi: mt76: connac: set correct muar_idx for mt799x chipsets")
Signed-off-by: Muhammad Usama Anjum <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions