[PATCH] ath10k: free cached fw bin contents when get board id fails

Valo, Kalle kvalo at qca.qualcomm.com
Fri Mar 18 00:54:46 PDT 2016


Raja Mani <rmani at qti.qualcomm.com> writes:

> ath10k_core_probe_fw() simply returns error without freeing
> cached firmware file content when get board id operation fails.
> Free cached fw bin data in failure case to avoid memory leak.
>
> Fixes: db0984e51a18 ("ath10k: select board data based on BMI chip id and board id")
> Signed-off-by: Raja Mani <rmani at qti.qualcomm.com>

Applied, thanks.

-- 
Kalle Valo


More information about the ath10k mailing list