On Thu, 2014-11-13 at 13:33 +0100, Stanislaw Gruszka wrote: > I've updated wireless code on RHEL and get complain that now > cfg80211 and rfkill modules are loaded on machines that do not have > wireless hardware. Modules are auto-loaded because NetworkManager send > nl80211 messages to check if there are wireless devices in the system. > > Hence my question, can we revert commit fb4e156886ce > "nl80211: Add generic netlink module alias for cfg80211/nl80211" ? Realistically, we can't revert it, but only remove the MODULE_ALIAS_GENL_FAMILY() line. > Auto loading nl80211 does not seems to be necessary, if there are > wireless devices nl80211 will be loaded anyway. Maybe other applications would like to see an empty list of devices? But OTOH, if they're robust at all, they have to cope with kernels not even compiled with nl80211, so I guess for me I don't really see a big difference in whether the module alias exists or not. 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