Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > There is a success path where "ret" isn't initialized where we never > have a ATH11K_SPECTRAL_TAG_SCAN_SEARCH and then ret isn't initialized. > > Fixes: 9d11b7bff950 ("ath11k: add support for spectral scan") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. c7187acc3cd0 ath11k: fix uninitialized return in ath11k_spectral_process_data() -- https://patchwork.kernel.org/patch/11614313/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches