[OpenWrt-Devel] [PATCH] brcmfmac: Add Raspberry Pi 3 support

Álvaro Fernández Rojas noltari at gmail.com
Fri Mar 11 02:20:27 EST 2016


Indeed, it's a mistake.

> El 11 mar 2016, a las 8:15, Rafał Miłecki <zajec5 at gmail.com> escribió:
> 
>> On 10 March 2016 at 20:52, Álvaro Fernández Rojas <noltari at gmail.com> wrote:
>> +@@ -2651,6 +2651,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip
>> +        * preference in cfg struct to apply this to
>> +        * FW later while initializing the dongle
>> +        */
>> ++#ifdef defined(CONFIG_BCM2708) || defined(CONFIG_BCM2709)
>> ++      pr_info("power management disabled\n");
>> ++      enabled = false;
>> ++#endif
> 
> I'm not sure what's the result of above, but I used to use
> #ifdef CONFIG_FOO
> or
> #if defined(CONFIG_FOO)
> 
> I don't think kernel ever uses combination of both (ifdef + defined
> macro). Guess it's a mistake there?
> 
> -- 
> Rafał
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list