From: Christian Lamparter Date: Tue, 1 Jan 2019 15:03:01 +0000 (+0100) Subject: mac80211: ath10k: remove "ath10k: fix otp failure result" patch X-Git-Tag: v19.07.0-rc1~1533 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=13251aa92b8bad176254bc24af1ad5747a792697;p=openwrt%2Fstaging%2Fpepe2k.git mac80211: ath10k: remove "ath10k: fix otp failure result" patch Initially this patch was introduced as a quick fix following the removal of 936-ath10k_skip_otp_check.patch which caused multiple ath10k pcie devices in various ipq806x and ar71xx/ath79 targets to malfunction. Thankfully, the affected devices have been updated to utilize the pre-caldata method. And finally with the switch to ath10k-ct, which never had the patch or any reports of similar issues, I think it's time to remove this patch since it is no longer needed. Signed-off-by: Christian Lamparter --- diff --git a/package/kernel/mac80211/patches/ath/936-ath10k-fix-otp-failure-result.patch b/package/kernel/mac80211/patches/ath/936-ath10k-fix-otp-failure-result.patch deleted file mode 100644 index e1990b8018..0000000000 --- a/package/kernel/mac80211/patches/ath/936-ath10k-fix-otp-failure-result.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/drivers/net/wireless/ath/ath10k/core.c -+++ b/drivers/net/wireless/ath/ath10k/core.c -@@ -943,7 +943,7 @@ static int ath10k_core_get_board_id_from - if (ret) { - ath10k_err(ar, "could not execute otp for board id check: %d\n", - ret); -- return ret; -+ return -EOPNOTSUPP; - } - - board_id = MS(result, ATH10K_BMI_BOARD_ID_FROM_OTP);