wifi: mac80211: use wiphy work for channel switch
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 12:49:29 +0000 (14:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Jun 2023 17:53:24 +0000 (19:53 +0200)
commitec3252bff7b60fd2ee1a51a11054c54d63435ed2
tree53d712c80cdf057904ee8f4b11b10a5d8e417cdf
parent1444f58931ef5227532cf5436bb55c1dd511d9a2
wifi: mac80211: use wiphy work for channel switch

Channel switch obviously must be handled per link, and we
have a (potential) deadlock when canceling that work. Use
the new delayed wiphy work to handle this instead and get
rid of the explicit timer that way too.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c