Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > If request_partial_firmware_into_buf() fails then "firmware" is not > initialized and the release_firmware(firmware) will crash. > > Fixes: deebea35d699 ("wifi: rtw89: early recognize FW feature to decide if chanctx") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. 4c3140f4cea6 wifi: rtw89: uninitialized variable on error in rtw89_early_fw_feature_recognize() -- https://patchwork.kernel.org/project/linux-wireless/patch/YyMzDtX/3fUBnonC@kili/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches