aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
-rw-r--r--net/mac80211/debugfs_sta.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
index 44e201d60a13..19c54a44ed47 100644
--- a/net/mac80211/debugfs_sta.c
+++ b/net/mac80211/debugfs_sta.c
@@ -455,6 +455,15 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
455 DEBUGFS_ADD_COUNTER(tx_retry_count, tx_retry_count); 455 DEBUGFS_ADD_COUNTER(tx_retry_count, tx_retry_count);
456 DEBUGFS_ADD_COUNTER(wep_weak_iv_count, wep_weak_iv_count); 456 DEBUGFS_ADD_COUNTER(wep_weak_iv_count, wep_weak_iv_count);
457 457
458 if (sizeof(sta->driver_buffered_tids) == sizeof(u32))
459 debugfs_create_x32("driver_buffered_tids", 0400,
460 sta->debugfs.dir,
461 (u32 *)&sta->driver_buffered_tids);
462 else
463 debugfs_create_x64("driver_buffered_tids", 0400,
464 sta->debugfs.dir,
465 (u64 *)&sta->driver_buffered_tids);
466
458 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs.dir); 467 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs.dir);
459} 468}
460 469