]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd38b0e3797b7289e23f70a5c725b1615738ad440
treeea1fd8cedb2aaf6c41c336212482aa60448cfd7a
parent0c6a0712c43da935dc346b06c31047b49116bd9a
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: 31793ce79203 ("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