mac80211: remove sta_info debugfs sub-struct
[linux-2.6-block.git] / net / mac80211 / rate.h
index 624fe5b81615e6afa04138cfdb375c8894d133c0..8d3260785b940d3ea87679f86b98015ce1b4fbbd 100644 (file)
@@ -96,9 +96,9 @@ static inline void rate_control_add_sta_debugfs(struct sta_info *sta)
 {
 #ifdef CONFIG_MAC80211_DEBUGFS
        struct rate_control_ref *ref = sta->rate_ctrl;
-       if (ref && sta->debugfs.dir && ref->ops->add_sta_debugfs)
+       if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs)
                ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv,
-                                         sta->debugfs.dir);
+                                         sta->debugfs_dir);
 #endif
 }