|
|
@@ -486,8 +486,8 @@ static int ath10k_download_and_run_otp(struct ath10k *ar)
|
|
|
ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot otp execute result %d\n", result);
|
|
|
|
|
|
if (!(skip_otp || test_bit(ATH10K_FW_FEATURE_IGNORE_OTP_RESULT,
|
|
|
- ar->fw_features))
|
|
|
- && result != 0) {
|
|
|
+ ar->fw_features)) &&
|
|
|
+ result != 0) {
|
|
|
ath10k_err(ar, "otp calibration failed: %d", result);
|
|
|
return -EINVAL;
|
|
|
}
|