From c354591d1b7075bf1e393bb4ccdda4a82d238dfe Mon Sep 17 00:00:00 2001
From: Adrian Panella <ianchi74@outlook.com>
Date: Mon, 16 May 2016 02:10:56 -0500
Subject: [PATCH] mac80211: ath10k fix otp check patch

Fix patch to match new updated package version

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
---
 package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch b/package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch
index 9a7e81ba7d..7f51dd2dd6 100644
--- a/package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch
+++ b/package/kernel/mac80211/patches/936-ath10k_skip_otp_check.patch
@@ -35,7 +35,7 @@
 +		if (ret && ret != -EOPNOTSUPP) {
 +			ath10k_err(ar, "failed to get board id from otp: %d\n",
 +				ret);
-+			return ret;
++			goto err_free_firmware_files;
 +		}
  	}
  
-- 
GitLab