Search Linux Wireless

Re: [PATCH 6/8] compat-wireless: Add warning if wext is deactivated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux