[package] kernel: package ocf hifn7751 and hifnHIPP drivers, allow OCF on brcm-2.4
[openwrt.git] / package / carl9170 / patches / 120-compile_fix.patch
1 --- a/drivers/net/wireless/ath/carl9170/fw.c
2 +++ b/drivers/net/wireless/ath/carl9170/fw.c
3 @@ -185,8 +185,10 @@ static int ar9170_fw_check(struct ar9170
4 if (SUPP(CARL9170FW_WLANTX_CAB))
5 ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP);
6
7 +#ifdef CONFIG_CARL9170_WPS_BUTTON
8 if (!SUPP(CARL9170FW_GPIO_INTERRUPT))
9 ar->has_wps_button = false;
10 +#endif
11
12 #undef SUPPORTED
13 return 0;
This page took 0.050004 seconds and 5 git commands to generate.