diff options
author | 2025-07-27 07:04:13 -0700 | |
---|---|---|
committer | 2025-08-27 10:56:35 +0200 | |
commit | 9f15701370ec15fbf1f6a1cbbf584b0018d036b5 (patch) | |
tree | 35b7bf50f2e1ad209599c83fbb4b037ef6e0dfb4 /tools/perf/scripts/python | |
parent | wifi: mt76: mt7921: don't disconnect when CSA to DFS chan (diff) | |
download | wireguard-linux-9f15701370ec15fbf1f6a1cbbf584b0018d036b5.tar.xz wireguard-linux-9f15701370ec15fbf1f6a1cbbf584b0018d036b5.zip |
wifi: mt76: mt7925: fix locking in mt7925_change_vif_links()
&dev->mt76.mutex lock is taken using mt792x_mutex_acquire(dev) but not
released in one of the error paths, add the unlock to fix it.
Fixes: 5cd0bd815c8a ("wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202503031055.3ZRqxhAl-lkp@intel.com/
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://patch.msgid.link/20250727140416.1153406-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions