wifi: cfg80211: lock wiphy mutex for rfkill poll
authorJohannes Berg <johannes.berg@intel.com>
Wed, 8 Nov 2023 12:41:25 +0000 (13:41 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Nov 2023 17:30:09 +0000 (18:30 +0100)
commit8e2f6f2366219b3304b227bdd2f04b64c92e3e12
tree752dd50162b3a233e4263fb43cb185cf70e83bef
parent7e7efdda6adb385fbdfd6f819d76bc68c923c394
wifi: cfg80211: lock wiphy mutex for rfkill poll

We want to guarantee the mutex is held for pretty much
all operations, so ensure that here as well.

Reported-by: syzbot+7e59a5bfc7a897247e18@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c