On 10 March 2016 at 20:52, Álvaro Fernández Rojas <nolt...@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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel