projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1934365
)
wifi: mac80211: release channel context on link stop
author
Johannes Berg
<johannes.berg@intel.com>
Tue, 12 Jul 2022 11:36:37 +0000
(13:36 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:21 +0000
(11:43 +0200)
When a link is stopped for removal, release the channel
context it may have.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c
patch
|
blob
|
history
diff --git
a/net/mac80211/iface.c
b/net/mac80211/iface.c
index 7410370c291b23a3f50309cfd81e90f82bc9a2b5..3d485835dec26fdce22c1d23823e63f46942ecc6 100644
(file)
--- a/
net/mac80211/iface.c
+++ b/
net/mac80211/iface.c
@@
-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 {