diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c index 29e16ba69cdb..d5f9df176bab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c | |||
@@ -255,21 +255,18 @@ static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, | |||
255 | pos += scnprintf(buf + pos, bufsz - pos, "tid data:\n"); | 255 | pos += scnprintf(buf + pos, bufsz - pos, "tid data:\n"); |
256 | pos += scnprintf(buf + pos, bufsz - pos, | 256 | pos += scnprintf(buf + pos, bufsz - pos, |
257 | "seq_num\t\ttxq_id"); | 257 | "seq_num\t\ttxq_id"); |
258 | #ifdef CONFIG_IWL4965_HT | ||
259 | pos += scnprintf(buf + pos, bufsz - pos, | 258 | pos += scnprintf(buf + pos, bufsz - pos, |
260 | "\tframe_count\twait_for_ba\t"); | 259 | "\tframe_count\twait_for_ba\t"); |
261 | pos += scnprintf(buf + pos, bufsz - pos, | 260 | pos += scnprintf(buf + pos, bufsz - pos, |
262 | "start_idx\tbitmap0\t"); | 261 | "start_idx\tbitmap0\t"); |
263 | pos += scnprintf(buf + pos, bufsz - pos, | 262 | pos += scnprintf(buf + pos, bufsz - pos, |
264 | "bitmap1\trate_n_flags"); | 263 | "bitmap1\trate_n_flags"); |
265 | #endif | ||
266 | pos += scnprintf(buf + pos, bufsz - pos, "\n"); | 264 | pos += scnprintf(buf + pos, bufsz - pos, "\n"); |
267 | 265 | ||
268 | for (j = 0; j < MAX_TID_COUNT; j++) { | 266 | for (j = 0; j < MAX_TID_COUNT; j++) { |
269 | pos += scnprintf(buf + pos, bufsz - pos, | 267 | pos += scnprintf(buf + pos, bufsz - pos, |
270 | "[%d]:\t\t%u", j, | 268 | "[%d]:\t\t%u", j, |
271 | station->tid[j].seq_number); | 269 | station->tid[j].seq_number); |
272 | #ifdef CONFIG_IWL4965_HT | ||
273 | pos += scnprintf(buf + pos, bufsz - pos, | 270 | pos += scnprintf(buf + pos, bufsz - pos, |
274 | "\t%u\t\t%u\t\t%u\t\t", | 271 | "\t%u\t\t%u\t\t%u\t\t", |
275 | station->tid[j].agg.txq_id, | 272 | station->tid[j].agg.txq_id, |
@@ -280,7 +277,6 @@ static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, | |||
280 | station->tid[j].agg.start_idx, | 277 | station->tid[j].agg.start_idx, |
281 | (unsigned long long)station->tid[j].agg.bitmap, | 278 | (unsigned long long)station->tid[j].agg.bitmap, |
282 | station->tid[j].agg.rate_n_flags); | 279 | station->tid[j].agg.rate_n_flags); |
283 | #endif | ||
284 | pos += scnprintf(buf + pos, bufsz - pos, "\n"); | 280 | pos += scnprintf(buf + pos, bufsz - pos, "\n"); |
285 | } | 281 | } |
286 | pos += scnprintf(buf + pos, bufsz - pos, "\n"); | 282 | pos += scnprintf(buf + pos, bufsz - pos, "\n"); |