diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 7b96d95f48b1..547cfac218ee 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -780,6 +780,7 @@ struct ieee80211_local { | |||
780 | struct dentry *total_ps_buffered; | 780 | struct dentry *total_ps_buffered; |
781 | struct dentry *wep_iv; | 781 | struct dentry *wep_iv; |
782 | struct dentry *tsf; | 782 | struct dentry *tsf; |
783 | struct dentry *reset; | ||
783 | struct dentry *statistics; | 784 | struct dentry *statistics; |
784 | struct local_debugfsdentries_statsdentries { | 785 | struct local_debugfsdentries_statsdentries { |
785 | struct dentry *transmitted_fragment_count; | 786 | struct dentry *transmitted_fragment_count; |
@@ -1059,8 +1060,19 @@ void ieee80211_handle_pwr_constr(struct ieee80211_sub_if_data *sdata, | |||
1059 | u8 pwr_constr_elem_len); | 1060 | u8 pwr_constr_elem_len); |
1060 | 1061 | ||
1061 | /* Suspend/resume */ | 1062 | /* Suspend/resume */ |
1063 | #ifdef CONFIG_PM | ||
1062 | int __ieee80211_suspend(struct ieee80211_hw *hw); | 1064 | int __ieee80211_suspend(struct ieee80211_hw *hw); |
1063 | int __ieee80211_resume(struct ieee80211_hw *hw); | 1065 | int __ieee80211_resume(struct ieee80211_hw *hw); |
1066 | #else | ||
1067 | static inline int __ieee80211_suspend(struct ieee80211_hw *hw) | ||
1068 | { | ||
1069 | return 0; | ||
1070 | } | ||
1071 | static inline int __ieee80211_resume(struct ieee80211_hw *hw) | ||
1072 | { | ||
1073 | return 0; | ||
1074 | } | ||
1075 | #endif | ||
1064 | 1076 | ||
1065 | /* utility functions/constants */ | 1077 | /* utility functions/constants */ |
1066 | extern void *mac80211_wiphy_privid; /* for wiphy privid */ | 1078 | extern void *mac80211_wiphy_privid; /* for wiphy privid */ |