mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
13
package/carl9170/patches/120-compile_fix.patch
Normal file
13
package/carl9170/patches/120-compile_fix.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user