OSDN Git Service

mac80211: fix 'reset' debugfs locking
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Jun 2021 09:32:27 +0000 (11:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jun 2021 14:09:18 +0000 (16:09 +0200)
commitadaed1b9daf5a045be71e923e04b5069d2bee664
treeea1fd8cedb2aaf6c41c336212482aa60448cfd7a
parentd5befb224edbe53056c2c18999d630dafb4a08b9
mac80211: fix 'reset' debugfs locking

cfg80211 now calls suspend/resume with the wiphy lock
held, and while there's a problem with that needing
to be fixed, we should do the same in debugfs.

Cc: stable@vger.kernel.org
Fixes: a05829a7222e ("cfg80211: avoid holding the RTNL when calling the driver")
Link: https://lore.kernel.org/r/20210608113226.14020430e449.I78e19db0a55a8295a376e15ac4cf77dbb4c6fb51@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs.c