summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-04-28 16:22:06 -0700
committerJohannes Berg <johannes.berg@intel.com>2013-05-16 22:39:39 +0200
commitfb4e156886ce6e8309e912d8b370d192330d19d3 (patch)
treebc4f6953b1a2983b93d5a0bd7d83669369e2503d /include
parent55300a13d2ca1d59f659cf00b9d8dc93ea225882 (diff)
downloadlinux-fb4e156886ce6e8309e912d8b370d192330d19d3.tar.gz
linux-fb4e156886ce6e8309e912d8b370d192330d19d3.tar.bz2
linux-fb4e156886ce6e8309e912d8b370d192330d19d3.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nl80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index cbf1e228650f..b48430769eda 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -27,6 +27,8 @@
#include <linux/types.h>
+#define NL80211_GENL_NAME "nl80211"
+
/**
* DOC: Station handling
*