diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-02-17 18:27:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-02-17 18:27:42 +0000 |
commit | 47a82d2dad266b8247e3796ac461cbe5caaf7ec5 (patch) | |
tree | 47d0eef5aa22d6d16bcf5fd4bb4f5a3fdc3330b3 /package/carl9170/patches | |
parent | 83529be80a5f2630222df4421a06e7e8c0ad2cc1 (diff) | |
download | upstream-47a82d2dad266b8247e3796ac461cbe5caaf7ec5.tar.gz upstream-47a82d2dad266b8247e3796ac461cbe5caaf7ec5.tar.bz2 upstream-47a82d2dad266b8247e3796ac461cbe5caaf7ec5.zip |
carl9170: update to version 1.0.1.1 and fix a compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19691 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/carl9170/patches')
-rw-r--r-- | package/carl9170/patches/120-compile_fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/carl9170/patches/120-compile_fix.patch b/package/carl9170/patches/120-compile_fix.patch new file mode 100644 index 0000000000..00f0fba847 --- /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; |