Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > Call mutex_unlock(&rtwdev->mutex); before returning on this error path. > > Fixes: f0e741e4ddbc ("wifi: rtw88: add bitmap for dynamic port settings") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. e2ff1181b3d4 wifi: rtw88: unlock on error path in rtw_ops_add_interface() -- https://patchwork.kernel.org/project/linux-wireless/patch/ddd10a74-5982-4f65-8c59-c1cca558d239@kili.mountain/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches