diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-07-06 09:57:42 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 11:43:18 +0200 |
commit | cdf0a0a80c841cfede6926d417a8756ea4c52d26 (patch) | |
tree | 9cf920c5168f72dbec96686a93da0cd5eef9bdc7 /net/wireless/core.h | |
parent | a95fe067825526b10c8a165df2d77db1ddce42fa (diff) | |
download | lwn-cdf0a0a80c841cfede6926d417a8756ea4c52d26.tar.gz lwn-cdf0a0a80c841cfede6926d417a8756ea4c52d26.zip |
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>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index e72ca6eefafb..775e16cb99ed 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -562,4 +562,9 @@ void cfg80211_release_pmsr(struct wireless_dev *wdev, u32 portid); void cfg80211_pmsr_wdev_down(struct wireless_dev *wdev); void cfg80211_pmsr_free_wk(struct work_struct *work); +void cfg80211_remove_link(struct wireless_dev *wdev, unsigned int link_id); +void cfg80211_remove_links(struct wireless_dev *wdev); +int cfg80211_remove_virtual_intf(struct cfg80211_registered_device *rdev, + struct wireless_dev *wdev); + #endif /* __NET_WIRELESS_CORE_H */ |