On Wed, Jun 03, 2009 at 08:15:31PM +0100, Dave wrote: > Johannes Berg wrote: > > * iwm doesn't depend on cfg80211 or wireless extensions > > * rndis wlan selects cfg80211 - needs to depend > > * mac80211 selects cfg80211 - needs to depend > > Hmm. Consider: > > 1. User using a rndis_wlan device on old kernel with cfg80211 unselected. > 2. Upgrades kernel with make old_config > > Result: the rndis_wlan driver is no longer configured to build. > > I don't think it's a big issue, as you can reconfigure and rebuild as > soon as you realise. But you may have to 'realise' without google access. > > The only reason I'm thinking of this is because orinoco may be in the > same boat shortly. Ditto other wireless drivers as they get converted. > So I had a play with Kconfig. How about something like the patch below > instead? > > cfg80211 should just get autoselected in the most appropriate mode, and > drivers get the same restrictions as cfg80211. The option setting > appears to work fine, but I haven't done any build testing. > > It might be possible to chain things like this, so mac80211 could be > done in the same way. But I guess we wouldn't want too much of this > going on... This patch reminds me of why I hate Kconfig... If you decide to post it for merging, please include a thorough description of how it works for those of us with sore brains. John -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- 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