> -----Original Message----- > From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Sent: Wednesday, May 3, 2023 11:10 PM > To: Bernie Huang <phhuang@xxxxxxxxxxx> > Cc: Yan-Hsuan Chuang <tony0620emma@xxxxxxxxx>; Kalle Valo <kvalo@xxxxxxxxxx>; Ping-Ke Shih > <pkshih@xxxxxxxxxxx>; linux-wireless@xxxxxxxxxxxxxxx; kernel-janitors@xxxxxxxxxxxxxxx > Subject: [PATCH] wifi: rtw88: unlock on error path in rtw_ops_add_interface() > > 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> [...]