nl80211.h 510 B

123456789101112131415161718192021222324
  1. #ifndef __NET_WIRELESS_NL80211_H
  2. #define __NET_WIRELESS_NL80211_H
  3. #include "core.h"
  4. #ifdef CONFIG_NL80211
  5. extern int nl80211_init(void);
  6. extern void nl80211_exit(void);
  7. extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
  8. #else
  9. static inline int nl80211_init(void)
  10. {
  11. return 0;
  12. }
  13. static inline void nl80211_exit(void)
  14. {
  15. }
  16. static inline void nl80211_notify_dev_rename(
  17. struct cfg80211_registered_device *rdev)
  18. {
  19. }
  20. #endif /* CONFIG_NL80211 */
  21. #endif /* __NET_WIRELESS_NL80211_H */