diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-20 13:09:35 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:14 -0400 |
commit | 556829657397b9b05baec6691ead4e22ee8d1567 (patch) | |
tree | 44242431553e5e22c0bceaab7a06d9d7bf0dd2f6 /net/wireless/nl80211.h | |
parent | 0800f170263d19b882e519441156c5f6ed190fc1 (diff) |
[NL80211]: add netlink interface to cfg80211
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r-- | net/wireless/nl80211.h | 24 |
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 | ||
7 | extern int nl80211_init(void); | ||
8 | extern void nl80211_exit(void); | ||
9 | extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); | ||
10 | #else | ||
11 | static inline int nl80211_init(void) | ||
12 | { | ||
13 | return 0; | ||
14 | } | ||
15 | static inline void nl80211_exit(void) | ||
16 | { | ||
17 | } | ||
18 | static 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 */ | ||