diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-04-26 20:20:07 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-10 18:08:47 -0400 |
commit | 683abfbefe95750f8aa47dc6d2a7ee41c01c14ad (patch) | |
tree | 098521eb66e24eea7f348938a793add60d7844fc | |
parent | 381733cc53ce7abf3d8498f8ccf7586546c0b264 (diff) |
iwlwifi: rename "tx_power" to "chain_tx_power"
The "chain_tx_power" debugfs function is to display the tx power per
chain based. Name it "tx_power" is misleading.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c index f0d9b7247663..b071e1bff80e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c | |||
@@ -1214,7 +1214,7 @@ static ssize_t iwl_dbgfs_chain_noise_read(struct file *file, | |||
1214 | return ret; | 1214 | return ret; |
1215 | } | 1215 | } |
1216 | 1216 | ||
1217 | static ssize_t iwl_dbgfs_tx_power_read(struct file *file, | 1217 | static ssize_t iwl_dbgfs_chain_tx_power_read(struct file *file, |
1218 | char __user *user_buf, | 1218 | char __user *user_buf, |
1219 | size_t count, loff_t *ppos) { | 1219 | size_t count, loff_t *ppos) { |
1220 | 1220 | ||
@@ -1565,7 +1565,7 @@ DEBUGFS_READ_FILE_OPS(ucode_tx_stats); | |||
1565 | DEBUGFS_READ_FILE_OPS(ucode_general_stats); | 1565 | DEBUGFS_READ_FILE_OPS(ucode_general_stats); |
1566 | DEBUGFS_READ_FILE_OPS(sensitivity); | 1566 | DEBUGFS_READ_FILE_OPS(sensitivity); |
1567 | DEBUGFS_READ_FILE_OPS(chain_noise); | 1567 | DEBUGFS_READ_FILE_OPS(chain_noise); |
1568 | DEBUGFS_READ_FILE_OPS(tx_power); | 1568 | DEBUGFS_READ_FILE_OPS(chain_tx_power); |
1569 | DEBUGFS_READ_FILE_OPS(power_save_status); | 1569 | DEBUGFS_READ_FILE_OPS(power_save_status); |
1570 | DEBUGFS_WRITE_FILE_OPS(clear_ucode_statistics); | 1570 | DEBUGFS_WRITE_FILE_OPS(clear_ucode_statistics); |
1571 | DEBUGFS_WRITE_FILE_OPS(clear_traffic_statistics); | 1571 | DEBUGFS_WRITE_FILE_OPS(clear_traffic_statistics); |
@@ -1624,7 +1624,7 @@ int iwl_dbgfs_register(struct iwl_priv *priv, const char *name) | |||
1624 | DEBUGFS_ADD_FILE(traffic_log, dir_debug, S_IWUSR | S_IRUSR); | 1624 | DEBUGFS_ADD_FILE(traffic_log, dir_debug, S_IWUSR | S_IRUSR); |
1625 | DEBUGFS_ADD_FILE(rx_queue, dir_debug, S_IRUSR); | 1625 | DEBUGFS_ADD_FILE(rx_queue, dir_debug, S_IRUSR); |
1626 | DEBUGFS_ADD_FILE(tx_queue, dir_debug, S_IRUSR); | 1626 | DEBUGFS_ADD_FILE(tx_queue, dir_debug, S_IRUSR); |
1627 | DEBUGFS_ADD_FILE(tx_power, dir_debug, S_IRUSR); | 1627 | DEBUGFS_ADD_FILE(chain_tx_power, dir_debug, S_IRUSR); |
1628 | DEBUGFS_ADD_FILE(power_save_status, dir_debug, S_IRUSR); | 1628 | DEBUGFS_ADD_FILE(power_save_status, dir_debug, S_IRUSR); |
1629 | DEBUGFS_ADD_FILE(clear_ucode_statistics, dir_debug, S_IWUSR); | 1629 | DEBUGFS_ADD_FILE(clear_ucode_statistics, dir_debug, S_IWUSR); |
1630 | DEBUGFS_ADD_FILE(clear_traffic_statistics, dir_debug, S_IWUSR); | 1630 | DEBUGFS_ADD_FILE(clear_traffic_statistics, dir_debug, S_IWUSR); |