Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bluetooth: qca: Fix error code in qca_read_fw_build_info()
[ Upstream commit a189f0e ] Return -ENOMEM on allocation failure. Don't return success. Fixes: cda0d6a ("Bluetooth: qca: fix info leak when fetching fw build id") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information