aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-08-28 17:01:53 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:48:45 -0400
commit53cb670042999b8acb70945ce522b015dcdf7b43 (patch)
treee114ad62facc63678dab93b541804432e52a8ba0 /net/mac80211/debugfs.c
parentb2446b36800948586f1d1b8ef05803bba5f7489e (diff)
[MAC80211]: remove unused ioctls (2)
The ioctls * PRISM2_PARAM_STA_ANTENNA_SEL * PRISM2_PARAM_TX_POWER_REDUCTION * PRISM2_PARAM_DEFAULT_WEP_ONLY are not used by hostapd or wpa_supplicant. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r--net/mac80211/debugfs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 476c8486f789..76c39eb72817 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -110,9 +110,6 @@ DEBUGFS_READONLY_FILE(mode, 20, "%s",
110 ieee80211_mode_str(local->hw.conf.phymode)); 110 ieee80211_mode_str(local->hw.conf.phymode));
111DEBUGFS_READONLY_FILE(wep_iv, 20, "%#06x", 111DEBUGFS_READONLY_FILE(wep_iv, 20, "%#06x",
112 local->wep_iv & 0xffffff); 112 local->wep_iv & 0xffffff);
113DEBUGFS_READONLY_FILE(tx_power_reduction, 20, "%d.%d dBm",
114 local->hw.conf.tx_power_reduction / 10,
115 local->hw.conf.tx_power_reduction % 10);
116DEBUGFS_READONLY_FILE(rate_ctrl_alg, 100, "%s", 113DEBUGFS_READONLY_FILE(rate_ctrl_alg, 100, "%s",
117 local->rate_ctrl ? local->rate_ctrl->ops->name : "<unset>"); 114 local->rate_ctrl ? local->rate_ctrl->ops->name : "<unset>");
118 115
@@ -317,7 +314,6 @@ void debugfs_hw_add(struct ieee80211_local *local)
317 DEBUGFS_ADD(total_ps_buffered); 314 DEBUGFS_ADD(total_ps_buffered);
318 DEBUGFS_ADD(mode); 315 DEBUGFS_ADD(mode);
319 DEBUGFS_ADD(wep_iv); 316 DEBUGFS_ADD(wep_iv);
320 DEBUGFS_ADD(tx_power_reduction);
321 DEBUGFS_ADD(modes); 317 DEBUGFS_ADD(modes);
322 318
323 statsd = debugfs_create_dir("statistics", phyd); 319 statsd = debugfs_create_dir("statistics", phyd);
@@ -382,7 +378,6 @@ void debugfs_hw_del(struct ieee80211_local *local)
382 DEBUGFS_DEL(total_ps_buffered); 378 DEBUGFS_DEL(total_ps_buffered);
383 DEBUGFS_DEL(mode); 379 DEBUGFS_DEL(mode);
384 DEBUGFS_DEL(wep_iv); 380 DEBUGFS_DEL(wep_iv);
385 DEBUGFS_DEL(tx_power_reduction);
386 DEBUGFS_DEL(modes); 381 DEBUGFS_DEL(modes);
387 382
388 DEBUGFS_STATS_DEL(transmitted_fragment_count); 383 DEBUGFS_STATS_DEL(transmitted_fragment_count);