ath10k: increase bmi timeout to fix OTP on qca99xx boards and add bmi identification...
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 936-ath10k-fix-otp-failure-result.patch
1 --- a/drivers/net/wireless/ath/ath10k/core.c
2 +++ b/drivers/net/wireless/ath/ath10k/core.c
3 @@ -691,7 +691,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
11 board_id = MS(result, ATH10K_BMI_BOARD_ID_FROM_OTP);