diff options
Diffstat (limited to 'net/mac80211/rate.h')
-rw-r--r-- | net/mac80211/rate.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index eb94e584d24e..d0092f847f82 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h | |||
@@ -125,4 +125,18 @@ static inline void rc80211_pid_exit(void) | |||
125 | } | 125 | } |
126 | #endif | 126 | #endif |
127 | 127 | ||
128 | #ifdef CONFIG_MAC80211_RC_MINSTREL | ||
129 | extern int rc80211_minstrel_init(void); | ||
130 | extern void rc80211_minstrel_exit(void); | ||
131 | #else | ||
132 | static inline int rc80211_minstrel_init(void) | ||
133 | { | ||
134 | return 0; | ||
135 | } | ||
136 | static inline void rc80211_minstrel_exit(void) | ||
137 | { | ||
138 | } | ||
139 | #endif | ||
140 | |||
141 | |||
128 | #endif /* IEEE80211_RATE_H */ | 142 | #endif /* IEEE80211_RATE_H */ |