Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce30c4fe authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by Kalle Valo
Browse files

ath10k: replace warning with an error message if HTT op version is unset



Print an ath10k error message rather a call trace when HTT op version is
not found from firmware META data (IE). This should be sufficient to figure
out what went wrong.

Signed-off-by: default avatarMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent e565c312
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1697,7 +1697,7 @@ static int ath10k_core_init_firmware_features(struct ath10k *ar)
		case ATH10K_FW_WMI_OP_VERSION_10_4:
		case ATH10K_FW_WMI_OP_VERSION_UNSET:
		case ATH10K_FW_WMI_OP_VERSION_MAX:
			WARN_ON(1);
			ath10k_err(ar, "htt op version not found from fw meta data");
			return -EINVAL;
		}
	}