]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: mac80211: remove unnecessary synchronize_net()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Nov 2022 08:47:47 +0000 (09:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 1 Dec 2022 14:09:10 +0000 (15:09 +0100)
commitb2ddde566de409a3dbf708fe89ecbe114dd14cc3
treea831f70b796c66e5d82aa282edbfadf94f43a263
parent9445096319206814e462b904915b645c4f2bf514
wifi: mac80211: remove unnecessary synchronize_net()

The call to ieee80211_do_stop() right after will also do
synchronize_rcu() to ensure the SDATA_STATE_RUNNING bit
is cleared, so we don't need to synchronize_net() here.

Change-Id: Id9f9ffcf195002013e5d9fde288877d219780864
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c