aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r--net/mac80211/debugfs_netdev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c
index c9948fa58e08..f0e6ab7eb624 100644
--- a/net/mac80211/debugfs_netdev.c
+++ b/net/mac80211/debugfs_netdev.c
@@ -162,9 +162,6 @@ __IEEE80211_IF_FILE(beacon_tail_len);
162/* WDS attributes */ 162/* WDS attributes */
163IEEE80211_IF_FILE(peer, u.wds.remote_addr, MAC); 163IEEE80211_IF_FILE(peer, u.wds.remote_addr, MAC);
164 164
165/* VLAN attributes */
166IEEE80211_IF_FILE(vlan_id, u.vlan.id, DEC);
167
168#define DEBUGFS_ADD(name, type)\ 165#define DEBUGFS_ADD(name, type)\
169 sdata->debugfs.type.name = debugfs_create_file(#name, 0444,\ 166 sdata->debugfs.type.name = debugfs_create_file(#name, 0444,\
170 sdata->debugfsdir, sdata, &name##_ops); 167 sdata->debugfsdir, sdata, &name##_ops);
@@ -223,7 +220,6 @@ static void add_vlan_files(struct ieee80211_sub_if_data *sdata)
223 DEBUGFS_ADD(drop_unencrypted, vlan); 220 DEBUGFS_ADD(drop_unencrypted, vlan);
224 DEBUGFS_ADD(eapol, vlan); 221 DEBUGFS_ADD(eapol, vlan);
225 DEBUGFS_ADD(ieee8021_x, vlan); 222 DEBUGFS_ADD(ieee8021_x, vlan);
226 DEBUGFS_ADD(vlan_id, vlan);
227} 223}
228 224
229static void add_monitor_files(struct ieee80211_sub_if_data *sdata) 225static void add_monitor_files(struct ieee80211_sub_if_data *sdata)
@@ -317,7 +313,6 @@ static void del_vlan_files(struct ieee80211_sub_if_data *sdata)
317 DEBUGFS_DEL(drop_unencrypted, vlan); 313 DEBUGFS_DEL(drop_unencrypted, vlan);
318 DEBUGFS_DEL(eapol, vlan); 314 DEBUGFS_DEL(eapol, vlan);
319 DEBUGFS_DEL(ieee8021_x, vlan); 315 DEBUGFS_DEL(ieee8021_x, vlan);
320 DEBUGFS_DEL(vlan_id, vlan);
321} 316}
322 317
323static void del_monitor_files(struct ieee80211_sub_if_data *sdata) 318static void del_monitor_files(struct ieee80211_sub_if_data *sdata)