On Sat, 11 Sep 2010 18:18:31 +0200, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote: > ++#ifdef CONFIG_WIRELESS_EXT > + if (!dev->wireless_handlers) > + dev->wireless_handlers = &cfg80211_wext_handler; > ++#else > ++ printk(KERN_WARNING "cfg80211: wext will not work because " > ++ "kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools " > ++ "using wext interface like iwconfig will not work.\n"); > ++#endif This could use printk_once :-) Also, if the kernel you're compiling against is new enough and was built with cfg80211, this isn't necessary, but the normal code could be used (which I believe this patch currently removes, rather than ifdeffing it) johannes -- 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