wifi: nl80211: hold wdev mutex in add/mod/del link station
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 13:25:56 +0000 (15:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:13 +0000 (11:43 +0200)
commit858fd1880ba5fffaacc9bac5c3cd9b0952819208
treef1fc4dad2330a79f1632c3370b220f34cd0bc7f7
parent21476ad16d3ca3687a474556c67d4789ef85a5df
wifi: nl80211: hold wdev mutex in add/mod/del link station

Since we deal with links, and that requires looking at wdev links,
we should hold the wdev mutex for driver convenience.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c