wifi: rtw89: unlock on error path in rtw89_ops_unassign_vif_chanctx()

[ Upstream commit ac4f4e5a20 ]

We need to call mutex_unlock() on this error path.

Fixes: aad0394e7a ("wifi: rtw89: tweak driver architecture for impending MLO support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/8683a712-ffc2-466b-8382-0b264719f8ef@stanley.mountain
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Dan Carpenter 2024-10-21 12:14:39 +03:00 • committed by Greg Kroah-Hartman
commit 4f5dea02e8