From: Kalle Valo Date: Wed, 25 Nov 2015 13:38:05 +0000 (+0200) Subject: ath10k: fix otp board id error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b091f36990ef85fa9959307f535a6b8431c2799f;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ath10k: fix otp board id error message We check board id from all board types, not just qca99x0, so the error message was misleading. Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 7a59dbb1b1e2..574334268a3a 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -1753,7 +1753,7 @@ static int ath10k_core_probe_fw(struct ath10k *ar) ret = ath10k_core_get_board_id_from_otp(ar); if (ret && ret != -EOPNOTSUPP) { - ath10k_err(ar, "failed to get board id from otp for qca99x0: %d\n", + ath10k_err(ar, "failed to get board id from otp: %d\n", ret); return ret; }