Message ID | 20220902161058.c6e40e0c38c1.I97c1d24d4f526d3d5e41398a2a56de7255f725c2@changeid |
---|---|
State | New |
Headers | show |
Series | [1/2] wifi: mac80211: fix locking in auth/assoc timeout | expand |
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 4555d23b009e..13d075e6a318 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -6549,6 +6549,7 @@ static int ieee80211_prep_connection(struct ieee80211_sub_if_data *sdata, return 0; out_err: + ieee80211_link_release_channel(&sdata->deflink); ieee80211_vif_set_links(sdata, 0); return err; }