Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[linux-2.6.git] / net / mac80211 / debugfs_key.h
blob32adc77e9c77cc8019f6a04aee2d3247848a5d7d
1 #ifndef __MAC80211_DEBUGFS_KEY_H
2 #define __MAC80211_DEBUGFS_KEY_H
4 #ifdef CONFIG_MAC80211_DEBUGFS
5 void ieee80211_debugfs_key_add(struct ieee80211_key *key);
6 void ieee80211_debugfs_key_remove(struct ieee80211_key *key);
7 void ieee80211_debugfs_key_update_default(struct ieee80211_sub_if_data *sdata);
8 void ieee80211_debugfs_key_add_mgmt_default(
9 struct ieee80211_sub_if_data *sdata);
10 void ieee80211_debugfs_key_remove_mgmt_default(
11 struct ieee80211_sub_if_data *sdata);
12 void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
13 struct sta_info *sta);
14 #else
15 static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key)
17 static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key)
19 static inline void ieee80211_debugfs_key_update_default(
20 struct ieee80211_sub_if_data *sdata)
22 static inline void ieee80211_debugfs_key_add_mgmt_default(
23 struct ieee80211_sub_if_data *sdata)
25 static inline void ieee80211_debugfs_key_remove_mgmt_default(
26 struct ieee80211_sub_if_data *sdata)
28 static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key,
29 struct sta_info *sta)
31 #endif
33 #endif /* __MAC80211_DEBUGFS_KEY_H */