936-ath10k-fix-otp-failure-result.patch 344 B

1234567891011
  1. --- a/drivers/net/wireless/ath/ath10k/core.c
  2. +++ b/drivers/net/wireless/ath/ath10k/core.c
  3. @@ -943,7 +943,7 @@ static int ath10k_core_get_board_id_from
  4. if (ret) {
  5. ath10k_err(ar, "could not execute otp for board id check: %d\n",
  6. ret);
  7. - return ret;
  8. + return -EOPNOTSUPP;
  9. }
  10. board_id = MS(result, ATH10K_BMI_BOARD_ID_FROM_OTP);