mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
wifi: mac80211: release channel context on link stop
When a link is stopped for removal, release the channel context it may have. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
19343659c8
commit
b048c98447
@ -420,6 +420,8 @@ static void ieee80211_link_stop(struct ieee80211_link_data *link)
|
||||
{
|
||||
if (link->sdata->vif.type == NL80211_IFTYPE_STATION)
|
||||
ieee80211_mgd_stop_link(link);
|
||||
|
||||
ieee80211_link_release_channel(link);
|
||||
}
|
||||
|
||||
struct link_container {
|
||||
|
Loading…
Reference in New Issue
Block a user