[PATCH v2 03/13] ath10k: warn if give WMI command is not supported

Kalle Valo kvalo at qca.qualcomm.com
Thu Sep 26 08:35:24 EDT 2013


Bartosz Markowski <bartosz.markowski at tieto.com> writes:

> This will show and make it easier to track the API
> differences in the new AP firmware.
>
> Signed-off-by: Bartosz Markowski <bartosz.markowski at tieto.com>
> ---

[...]

> +	if (cmd_id == WMI_CMD_UNDEFINED) {
> +		ath10k_warn("command not supported by given firmware\n");
> +		return ret;
> +	}

You should print the cmd id in the warning message.

-- 
Kalle Valo



More information about the ath10k mailing list