[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>
This commit is contained in:

committed by
David S. Miller

parent
0800f17026
commit
5568296573
24
net/wireless/nl80211.h
Normal file
24
net/wireless/nl80211.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __NET_WIRELESS_NL80211_H
|
||||
#define __NET_WIRELESS_NL80211_H
|
||||
|
||||
#include "core.h"
|
||||
|
||||
#ifdef CONFIG_NL80211
|
||||
extern int nl80211_init(void);
|
||||
extern void nl80211_exit(void);
|
||||
extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
|
||||
#else
|
||||
static inline int nl80211_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline void nl80211_exit(void)
|
||||
{
|
||||
}
|
||||
static inline void nl80211_notify_dev_rename(
|
||||
struct cfg80211_registered_device *rdev)
|
||||
{
|
||||
}
|
||||
#endif /* CONFIG_NL80211 */
|
||||
|
||||
#endif /* __NET_WIRELESS_NL80211_H */
|
Reference in New Issue
Block a user