diff options
| author | Dan Carpenter <[email protected]> | 2023-06-09 10:48:44 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2023-06-09 11:28:41 +0000 |
| commit | 996c3117dae4c02b38a3cb68e5c2aec9d907ec15 (patch) | |
| tree | ea9647ba8c6739d64dc2d38191f02156482bef7e /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
| parent | wifi: cfg80211: fix locking in regulatory disconnect (diff) | |
| download | kernel-996c3117dae4c02b38a3cb68e5c2aec9d907ec15.tar.gz kernel-996c3117dae4c02b38a3cb68e5c2aec9d907ec15.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions
