From d637fc78e444c81392a3f59cd0d9a3b955960966 Mon Sep 17 00:00:00 2001
From: Adrian Panella <ianch...@outlook.com>
Date: Mon, 28 Mar 2016 02:23:03 -0600
Subject: [PATCH 3/8] ath10k: ignore otp check

Patchs otp check in ath10k

---
 .../mac80211/patches/940-ath10k_ignore_otp_check   | 14 +++++
 1 files changed, 14 insertions(+)
create mode 100644 package/kernel/mac80211/patches/940-ath10k_ignore_otp_check

diff --git a/package/kernel/mac80211/patches/940-ath10k_ignore_otp_check b/package/kernel/mac80211/patches/940-ath10k_ignore_otp_check
new file mode 100644
index 0000000..40cf11a
--- /dev/null
+++ b/package/kernel/mac80211/patches/940-ath10k_ignore_otp_check
@@ -0,0 +1,14 @@
+--- a/drivers/net/wireless/ath/ath10k/core.c
++++ b/drivers/net/wireless/ath/ath10k/core.c
+@@ -1800,9 +1800,8 @@ static int ath10k_core_probe_fw(struct a
+
+     ret = ath10k_core_get_board_id_from_otp(ar);
+     if (ret && ret != -EOPNOTSUPP) {
+-        ath10k_err(ar, "failed to get board id from otp: %d\n",
++        ath10k_err(ar, "failed to get board id from otp: %d, ignored\n",
+                ret);
+-        return ret;
+     }
+
+     ret = ath10k_core_fetch_board_file(ar);
--
1.9.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to