diff options
author | 2025-04-21 12:25:44 +0100 | |
---|---|---|
committer | 2025-05-21 14:49:39 +0200 | |
commit | cb423ddad0f6e6f55b1700422ab777b25597cc83 (patch) | |
tree | fcdbcc5335af20da9489bbb4bb36876f8562ab40 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: mt76: mt7921: add 160 MHz AP for mt7922 device (diff) | |
download | wireguard-linux-cb423ddad0f6e6f55b1700422ab777b25597cc83.tar.xz wireguard-linux-cb423ddad0f6e6f55b1700422ab777b25597cc83.zip |
wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()
The function mt7996_set_monitor() dereferences phy before
the NULL sanity check.
Fix this to avoid NULL pointer dereference by moving the
dereference after the check.
Fixes: 69d54ce7491d ("wifi: mt76: mt7996: switch to single multi-radio wiphy")
Signed-off-by: Qasim Ijaz <qasdev00@gmail.com>
Link: https://patch.msgid.link/20250421112544.13430-1-qasdev00@gmail.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions