RE: [PATCH next] wifi: rtw89: unlock on error path in rtw89_ops_unassign_vif_chanctx()
From: Zong-Zhe Yang
Date: Mon Oct 21 2024 - 23:27:28 EST
Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> [...]
>
> @@ -1373,6 +1373,7 @@ static void rtw89_ops_unassign_vif_chanctx(struct ieee80211_hw
> *hw,
>
> rtwvif_link = rtwvif->links[link_conf->link_id];
> if (unlikely(!rtwvif_link)) {
> + mutex_unlock(&rtwdev->mutex);
> rtw89_err(rtwdev,
> "%s: rtwvif link (link_id %u) is not active\n",
> __func__, link_conf->link_id);
>
Acked-by: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx>
Thanks