mac80211: rebase ontop of v4.18.5
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / ath / 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 @@ -783,7 +783,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);