aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r--net/wireless/nl80211.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h
new file mode 100644
index 000000000000..f3ea5c029aee
--- /dev/null
+++ b/net/wireless/nl80211.h
@@ -0,0 +1,24 @@
1#ifndef __NET_WIRELESS_NL80211_H
2#define __NET_WIRELESS_NL80211_H
3
4#include "core.h"
5
6#ifdef CONFIG_NL80211
7extern int nl80211_init(void);
8extern void nl80211_exit(void);
9extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
10#else
11static inline int nl80211_init(void)
12{
13 return 0;
14}
15static inline void nl80211_exit(void)
16{
17}
18static inline void nl80211_notify_dev_rename(
19 struct cfg80211_registered_device *rdev)
20{
21}
22#endif /* CONFIG_NL80211 */
23
24#endif /* __NET_WIRELESS_NL80211_H */