diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-06-09 13:48:44 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-06-09 14:28:41 +0300 |
commit | 996c3117dae4c02b38a3cb68e5c2aec9d907ec15 (patch) | |
tree | ea9647ba8c6739d64dc2d38191f02156482bef7e /scripts/gdb/linux/utils.py | |
parent | f7e60032c6618dfd643c7210d5cba2789e2de2e2 (diff) | |
download | linux-996c3117dae4c02b38a3cb68e5c2aec9d907ec15.tar.xz |
wifi: cfg80211: fix double lock bug in reg_wdev_chan_valid()
The locking was changed recently so now the caller holds the wiphy_lock()
lock. Taking the lock inside the reg_wdev_chan_valid() function will
lead to a deadlock.
Fixes: f7e60032c661 ("wifi: cfg80211: fix locking in regulatory disconnect")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/40c4114a-6cb4-4abf-b013-300b598aba65@moroto.mountain
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions