Commit de66bfd85c817146825eaafb39d5872463c09e8c

Authored by John W. Linville
1 parent 670b7f11ff

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>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

net/mac80211/rc80211_minstrel_ht.h
... ... @@ -29,6 +29,8 @@
29 29 unsigned int duration[MCS_GROUP_RATES];
30 30 };
31 31  
  32 +extern const struct mcs_group minstrel_mcs_groups[];
  33 +
32 34 struct minstrel_rate_stats {
33 35 /* current / last sampling period attempts/success counters */
34 36 unsigned int attempts, last_attempts;
net/mac80211/rc80211_minstrel_ht_debugfs.c
... ... @@ -14,8 +14,6 @@
14 14 #include "rc80211_minstrel.h"
15 15 #include "rc80211_minstrel_ht.h"
16 16  
17   -extern const struct mcs_group minstrel_mcs_groups[];
18   -
19 17 static int
20 18 minstrel_ht_stats_open(struct inode *inode, struct file *file)
21 19 {