wifi: cfg80211: clean up links appropriately
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2022 07:57:42 +0000 (09:57 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:18 +0000 (11:43 +0200)
commitcdf0a0a80c841cfede6926d417a8756ea4c52d26
tree9cf920c5168f72dbec96686a93da0cd5eef9bdc7
parenta95fe067825526b10c8a165df2d77db1ddce42fa
wifi: cfg80211: clean up links appropriately

This was missing earlier, we need to remove links when
interfaces are being destroyed, and we also need to
stop (AP) operations when a link is being destroyed.
Address these issues to remove many warnings that will
otherwise appear in mac80211.

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