mac80211: ath10k: remove "ath10k: fix otp failure result" patch
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 1 Jan 2019 15:03:01 +0000 (16:03 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 24 Jan 2019 14:53:02 +0000 (15:53 +0100)
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 <chunkeey@gmail.com>
package/kernel/mac80211/patches/ath/936-ath10k-fix-otp-failure-result.patch [deleted file]

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 (file)
index e1990b8..0000000
+++ /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);