summaryrefslogtreecommitdiff
path: root/package/carl9170
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-17 18:27:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-02-17 18:27:42 +0000
commit1797c1217b1043c7ac59e86dab7e6bf825c0c9b3 (patch)
tree35267141db9df863673818618906ded65df08c2b /package/carl9170
parentdd4893f453e1712d37b1540ce865fd8b94125ccb (diff)
downloadmtk-20170518-1797c1217b1043c7ac59e86dab7e6bf825c0c9b3.zip
mtk-20170518-1797c1217b1043c7ac59e86dab7e6bf825c0c9b3.tar.gz
mtk-20170518-1797c1217b1043c7ac59e86dab7e6bf825c0c9b3.tar.bz2
carl9170: update to version 1.0.1.1 and fix a compile error
SVN-Revision: 19691
Diffstat (limited to 'package/carl9170')
-rw-r--r--package/carl9170/Makefile4
-rw-r--r--package/carl9170/patches/120-compile_fix.patch13
2 files changed, 15 insertions, 2 deletions
diff --git a/package/carl9170/Makefile b/package/carl9170/Makefile
index a272924..8238389 100644
--- a/package/carl9170/Makefile
+++ b/package/carl9170/Makefile
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=carl9170
-PKG_VERSION:=0.9.9.1
+PKG_VERSION:=1.0.1.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/chr/carl9170/$(PKG_VERSION) \
@KERNEL/linux/kernel/people/chr/carl9170/old/$(PKG_VERSION)
-PKG_MD5SUM:=122610b254125d93c7f64cc559d3341a
+PKG_MD5SUM:=8abbb4ae09a45a82af6f63cb65c7e2d8
include $(INCLUDE_DIR)/package.mk
diff --git a/package/carl9170/patches/120-compile_fix.patch b/package/carl9170/patches/120-compile_fix.patch
new file mode 100644
index 0000000..00f0fba
--- /dev/null
+++ b/package/carl9170/patches/120-compile_fix.patch
@@ -0,0 +1,13 @@
+--- a/drivers/net/wireless/ath/carl9170/fw.c
++++ b/drivers/net/wireless/ath/carl9170/fw.c
+@@ -185,8 +185,10 @@ static int ar9170_fw_check(struct ar9170
+ if (SUPP(CARL9170FW_WLANTX_CAB))
+ ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP);
+
++#ifdef CONFIG_CARL9170_WPS_BUTTON
+ if (!SUPP(CARL9170FW_GPIO_INTERRUPT))
+ ar->has_wps_button = false;
++#endif
+
+ #undef SUPPORTED
+ return 0;