Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes: > +#ifndef CONFIG_CFG80211_ANDROID_P2P_HACK > if (WARN_ON(wdev->netdev)) > return; > +#endif With my favorite kernel macro, config_enabled(), you could get rid of quite a lot of the ugly ifdefs. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html