瀏覽代碼

mac80211: add back lost debugfs files

Somehow these files were never present or lost, but the code
is there and they seem somewhat useful, so add them back.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Johannes Berg 8 年之前
父節點
當前提交
bddb2afcb6
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      net/mac80211/debugfs.c
  2. 1 0
      net/mac80211/debugfs_sta.c

+ 1 - 0
net/mac80211/debugfs.c

@@ -356,6 +356,7 @@ void debugfs_hw_add(struct ieee80211_local *local)
 
 	DEBUGFS_ADD(total_ps_buffered);
 	DEBUGFS_ADD(wep_iv);
+	DEBUGFS_ADD(rate_ctrl_alg);
 	DEBUGFS_ADD(queues);
 	DEBUGFS_ADD(misc);
 #ifdef CONFIG_PM

+ 1 - 0
net/mac80211/debugfs_sta.c

@@ -522,6 +522,7 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
 		return;
 
 	DEBUGFS_ADD(flags);
+	DEBUGFS_ADD(aid);
 	DEBUGFS_ADD(num_ps_buf_frames);
 	DEBUGFS_ADD(last_seq_ctrl);
 	DEBUGFS_ADD(agg_status);