nl80211: Add generic netlink module alias for cfg80211/nl80211
To support auto-loading of wireless modules from netlink users, add module alias for nl80211 family. This also adds NL80211_GENL_NAME constant to define the "nl80211" netlink family name as part of uapi. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
55300a13d2
commit
fb4e156886
@@ -34,6 +34,7 @@
|
||||
MODULE_AUTHOR("Johannes Berg");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("wireless configuration support");
|
||||
MODULE_ALIAS_GENL_FAMILY(NL80211_GENL_NAME);
|
||||
|
||||
/* RCU-protected (and cfg80211_mutex for writers) */
|
||||
LIST_HEAD(cfg80211_rdev_list);
|
||||
|
Reference in New Issue
Block a user