[OpenWrt-Devel,3/8] ath10k: ignore otp check
diff mbox

Message ID BLU436-SMTP25004D32AD9500DDD2E6E4BDB9A0@phx.gbl
State Changes Requested
Headers show

Commit Message

Adrian Panella April 1, 2016, 1:43 a.m. UTC
From d637fc78e444c81392a3f59cd0d9a3b955960966 Mon Sep 17 00:00:00 2001
From: Adrian Panella <ianchi74@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

Patch
diff mbox

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