summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rate.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-04-05 05:59:05 -0400
committerJohannes Berg <johannes.berg@intel.com>2016-04-05 05:59:05 -0400
commitfc4a25c5b741ecb4ef4d0f1802775e8a88d7e0a7 (patch)
treefe45a9ef2ba9272a8040d652f002ff606d3fe677 /net/mac80211/rate.h
parent96f321c9d42a61aa1e2760a47a574f286b028be2 (diff)
mac80211: remove sta_info debugfs sub-struct
Since the previous patch, the struct only has a single member, so remove the struct and leave just the single member. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rate.h')
-rw-r--r--net/mac80211/rate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h
index 624fe5b81615..8d3260785b94 100644
--- a/net/mac80211/rate.h
+++ b/net/mac80211/rate.h
@@ -96,9 +96,9 @@ static inline void rate_control_add_sta_debugfs(struct sta_info *sta)
96{ 96{
97#ifdef CONFIG_MAC80211_DEBUGFS 97#ifdef CONFIG_MAC80211_DEBUGFS
98 struct rate_control_ref *ref = sta->rate_ctrl; 98 struct rate_control_ref *ref = sta->rate_ctrl;
99 if (ref && sta->debugfs.dir && ref->ops->add_sta_debugfs) 99 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs)
100 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv, 100 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv,
101 sta->debugfs.dir); 101 sta->debugfs_dir);
102#endif 102#endif
103} 103}
104 104