summaryrefslogtreecommitdiffstats
path: root/package/mac80211/src/net/mac80211/debugfs_sta.h
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:10:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:10:56 +0000
commit5fe95d1b660bed238f8f53d6c7360f44b5ce9824 (patch)
treef75dc7eaabf7bd7baacc8cc8440484d88d3666e2 /package/mac80211/src/net/mac80211/debugfs_sta.h
parenta4d094be2ac657698039b16163822b8ccd32f0d9 (diff)
fix up hostapd for mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9554 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/src/net/mac80211/debugfs_sta.h')
-rw-r--r--package/mac80211/src/net/mac80211/debugfs_sta.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/src/net/mac80211/debugfs_sta.h b/package/mac80211/src/net/mac80211/debugfs_sta.h
new file mode 100644
index 000000000..574a1cd54
--- /dev/null
+++ b/package/mac80211/src/net/mac80211/debugfs_sta.h
@@ -0,0 +1,12 @@
+#ifndef __MAC80211_DEBUGFS_STA_H
+#define __MAC80211_DEBUGFS_STA_H
+
+#ifdef CONFIG_MAC80211_DEBUGFS
+void ieee80211_sta_debugfs_add(struct sta_info *sta);
+void ieee80211_sta_debugfs_remove(struct sta_info *sta);
+#else
+static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
+static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
+#endif
+
+#endif /* __MAC80211_DEBUGFS_STA_H */