aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-06-24 13:03:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-24 15:42:18 -0400
commitde66bfd85c817146825eaafb39d5872463c09e8c (patch)
tree3b8847f4fcf2b3954c62f6bb5f4f732c3f6e4f66 /net/mac80211
parent670b7f11ff1f8492f51716474cf582f55a2247ba (diff)
minstrel_ht: move minstrel_mcs_groups declaration to header file
Signed-off-by: John W. Linville <linville@tuxdriver.com> Acked-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/rc80211_minstrel_ht.h2
-rw-r--r--net/mac80211/rc80211_minstrel_ht_debugfs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.h b/net/mac80211/rc80211_minstrel_ht.h
index 696c0fc6e0b7..462d2b227ed5 100644
--- a/net/mac80211/rc80211_minstrel_ht.h
+++ b/net/mac80211/rc80211_minstrel_ht.h
@@ -29,6 +29,8 @@ struct mcs_group {
29 unsigned int duration[MCS_GROUP_RATES]; 29 unsigned int duration[MCS_GROUP_RATES];
30}; 30};
31 31
32extern const struct mcs_group minstrel_mcs_groups[];
33
32struct minstrel_rate_stats { 34struct minstrel_rate_stats {
33 /* current / last sampling period attempts/success counters */ 35 /* current / last sampling period attempts/success counters */
34 unsigned int attempts, last_attempts; 36 unsigned int attempts, last_attempts;
diff --git a/net/mac80211/rc80211_minstrel_ht_debugfs.c b/net/mac80211/rc80211_minstrel_ht_debugfs.c
index 4fb3ccbd8b40..4a5a4b3e7799 100644
--- a/net/mac80211/rc80211_minstrel_ht_debugfs.c
+++ b/net/mac80211/rc80211_minstrel_ht_debugfs.c
@@ -14,8 +14,6 @@
14#include "rc80211_minstrel.h" 14#include "rc80211_minstrel.h"
15#include "rc80211_minstrel_ht.h" 15#include "rc80211_minstrel_ht.h"
16 16
17extern const struct mcs_group minstrel_mcs_groups[];
18
19static int 17static int
20minstrel_ht_stats_open(struct inode *inode, struct file *file) 18minstrel_ht_stats_open(struct inode *inode, struct file *file)
21{ 19{