OSDN Git Service

wifi: nl80211: acquire wdev mutex for dump_survey
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 10:49:03 +0000 (12:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:15 +0000 (11:43 +0200)
commit284b38b6902a7154e3675482418a7b6df47808fe
tree41ce769f51d3b5749f0a6945b5dfbcc0e7d95d4f
parente2722d278ee3dbc589e4fdf1e7970f4d2b62c7dc
wifi: nl80211: acquire wdev mutex for dump_survey

At least the quantenna driver calls wdev_chandef() here
which now requires the lock, so acquire it.

Fixes: 7b0a0e3c3a88 ("wifi: cfg80211: do some rework towards MLO link APIs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c