diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/rate.h | 12 | ||||
-rw-r--r-- | net/mac80211/trace.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index 5dedc56c94db..505bc0dea074 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h | |||
@@ -144,8 +144,8 @@ void rate_control_deinitialize(struct ieee80211_local *local); | |||
144 | 144 | ||
145 | /* Rate control algorithms */ | 145 | /* Rate control algorithms */ |
146 | #ifdef CONFIG_MAC80211_RC_PID | 146 | #ifdef CONFIG_MAC80211_RC_PID |
147 | extern int rc80211_pid_init(void); | 147 | int rc80211_pid_init(void); |
148 | extern void rc80211_pid_exit(void); | 148 | void rc80211_pid_exit(void); |
149 | #else | 149 | #else |
150 | static inline int rc80211_pid_init(void) | 150 | static inline int rc80211_pid_init(void) |
151 | { | 151 | { |
@@ -157,8 +157,8 @@ static inline void rc80211_pid_exit(void) | |||
157 | #endif | 157 | #endif |
158 | 158 | ||
159 | #ifdef CONFIG_MAC80211_RC_MINSTREL | 159 | #ifdef CONFIG_MAC80211_RC_MINSTREL |
160 | extern int rc80211_minstrel_init(void); | 160 | int rc80211_minstrel_init(void); |
161 | extern void rc80211_minstrel_exit(void); | 161 | void rc80211_minstrel_exit(void); |
162 | #else | 162 | #else |
163 | static inline int rc80211_minstrel_init(void) | 163 | static inline int rc80211_minstrel_init(void) |
164 | { | 164 | { |
@@ -170,8 +170,8 @@ static inline void rc80211_minstrel_exit(void) | |||
170 | #endif | 170 | #endif |
171 | 171 | ||
172 | #ifdef CONFIG_MAC80211_RC_MINSTREL_HT | 172 | #ifdef CONFIG_MAC80211_RC_MINSTREL_HT |
173 | extern int rc80211_minstrel_ht_init(void); | 173 | int rc80211_minstrel_ht_init(void); |
174 | extern void rc80211_minstrel_ht_exit(void); | 174 | void rc80211_minstrel_ht_exit(void); |
175 | #else | 175 | #else |
176 | static inline int rc80211_minstrel_ht_init(void) | 176 | static inline int rc80211_minstrel_ht_init(void) |
177 | { | 177 | { |
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 5d62c5804819..d4cee98533fd 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h | |||
@@ -77,13 +77,13 @@ DECLARE_EVENT_CLASS(local_sdata_addr_evt, | |||
77 | TP_STRUCT__entry( | 77 | TP_STRUCT__entry( |
78 | LOCAL_ENTRY | 78 | LOCAL_ENTRY |
79 | VIF_ENTRY | 79 | VIF_ENTRY |
80 | __array(char, addr, 6) | 80 | __array(char, addr, ETH_ALEN) |
81 | ), | 81 | ), |
82 | 82 | ||
83 | TP_fast_assign( | 83 | TP_fast_assign( |
84 | LOCAL_ASSIGN; | 84 | LOCAL_ASSIGN; |
85 | VIF_ASSIGN; | 85 | VIF_ASSIGN; |
86 | memcpy(__entry->addr, sdata->vif.addr, 6); | 86 | memcpy(__entry->addr, sdata->vif.addr, ETH_ALEN); |
87 | ), | 87 | ), |
88 | 88 | ||
89 | TP_printk( | 89 | TP_printk( |