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: state~37 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ac4a3b39fb19fa5c11ffa52531a09f366d770da0;p=openwrt%2Fstaging%2Fchunkeey.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);