diff options
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r-- | net/mac80211/debugfs.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 24ce54463310..2697a2fe608f 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
@@ -47,18 +47,14 @@ static const struct file_operations name## _ops = { \ | |||
47 | 47 | ||
48 | DEBUGFS_READONLY_FILE(frequency, 20, "%d", | 48 | DEBUGFS_READONLY_FILE(frequency, 20, "%d", |
49 | local->hw.conf.channel->center_freq); | 49 | local->hw.conf.channel->center_freq); |
50 | DEBUGFS_READONLY_FILE(antenna_sel_tx, 20, "%d", | ||
51 | local->hw.conf.antenna_sel_tx); | ||
52 | DEBUGFS_READONLY_FILE(antenna_sel_rx, 20, "%d", | ||
53 | local->hw.conf.antenna_sel_rx); | ||
54 | DEBUGFS_READONLY_FILE(rts_threshold, 20, "%d", | 50 | DEBUGFS_READONLY_FILE(rts_threshold, 20, "%d", |
55 | local->rts_threshold); | 51 | local->rts_threshold); |
56 | DEBUGFS_READONLY_FILE(fragmentation_threshold, 20, "%d", | 52 | DEBUGFS_READONLY_FILE(fragmentation_threshold, 20, "%d", |
57 | local->fragmentation_threshold); | 53 | local->fragmentation_threshold); |
58 | DEBUGFS_READONLY_FILE(short_retry_limit, 20, "%d", | 54 | DEBUGFS_READONLY_FILE(short_retry_limit, 20, "%d", |
59 | local->short_retry_limit); | 55 | local->hw.conf.short_frame_max_tx_count); |
60 | DEBUGFS_READONLY_FILE(long_retry_limit, 20, "%d", | 56 | DEBUGFS_READONLY_FILE(long_retry_limit, 20, "%d", |
61 | local->long_retry_limit); | 57 | local->hw.conf.long_frame_max_tx_count); |
62 | DEBUGFS_READONLY_FILE(total_ps_buffered, 20, "%d", | 58 | DEBUGFS_READONLY_FILE(total_ps_buffered, 20, "%d", |
63 | local->total_ps_buffered); | 59 | local->total_ps_buffered); |
64 | DEBUGFS_READONLY_FILE(wep_iv, 20, "%#06x", | 60 | DEBUGFS_READONLY_FILE(wep_iv, 20, "%#06x", |
@@ -202,8 +198,6 @@ void debugfs_hw_add(struct ieee80211_local *local) | |||
202 | local->debugfs.keys = debugfs_create_dir("keys", phyd); | 198 | local->debugfs.keys = debugfs_create_dir("keys", phyd); |
203 | 199 | ||
204 | DEBUGFS_ADD(frequency); | 200 | DEBUGFS_ADD(frequency); |
205 | DEBUGFS_ADD(antenna_sel_tx); | ||
206 | DEBUGFS_ADD(antenna_sel_rx); | ||
207 | DEBUGFS_ADD(rts_threshold); | 201 | DEBUGFS_ADD(rts_threshold); |
208 | DEBUGFS_ADD(fragmentation_threshold); | 202 | DEBUGFS_ADD(fragmentation_threshold); |
209 | DEBUGFS_ADD(short_retry_limit); | 203 | DEBUGFS_ADD(short_retry_limit); |
@@ -258,8 +252,6 @@ void debugfs_hw_add(struct ieee80211_local *local) | |||
258 | void debugfs_hw_del(struct ieee80211_local *local) | 252 | void debugfs_hw_del(struct ieee80211_local *local) |
259 | { | 253 | { |
260 | DEBUGFS_DEL(frequency); | 254 | DEBUGFS_DEL(frequency); |
261 | DEBUGFS_DEL(antenna_sel_tx); | ||
262 | DEBUGFS_DEL(antenna_sel_rx); | ||
263 | DEBUGFS_DEL(rts_threshold); | 255 | DEBUGFS_DEL(rts_threshold); |
264 | DEBUGFS_DEL(fragmentation_threshold); | 256 | DEBUGFS_DEL(fragmentation_threshold); |
265 | DEBUGFS_DEL(short_retry_limit); | 257 | DEBUGFS_DEL(short_retry_limit); |