diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c index 0aedbec9cbc8..f0d9b7247663 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c | |||
@@ -1612,8 +1612,11 @@ int iwl_dbgfs_register(struct iwl_priv *priv, const char *name) | |||
1612 | DEBUGFS_ADD_FILE(interrupt, dir_data, S_IWUSR | S_IRUSR); | 1612 | DEBUGFS_ADD_FILE(interrupt, dir_data, S_IWUSR | S_IRUSR); |
1613 | DEBUGFS_ADD_FILE(qos, dir_data, S_IRUSR); | 1613 | DEBUGFS_ADD_FILE(qos, dir_data, S_IRUSR); |
1614 | DEBUGFS_ADD_FILE(led, dir_data, S_IRUSR); | 1614 | DEBUGFS_ADD_FILE(led, dir_data, S_IRUSR); |
1615 | DEBUGFS_ADD_FILE(sleep_level_override, dir_data, S_IWUSR | S_IRUSR); | 1615 | if (!priv->cfg->broken_powersave) { |
1616 | DEBUGFS_ADD_FILE(current_sleep_command, dir_data, S_IRUSR); | 1616 | DEBUGFS_ADD_FILE(sleep_level_override, dir_data, |
1617 | S_IWUSR | S_IRUSR); | ||
1618 | DEBUGFS_ADD_FILE(current_sleep_command, dir_data, S_IRUSR); | ||
1619 | } | ||
1617 | DEBUGFS_ADD_FILE(thermal_throttling, dir_data, S_IRUSR); | 1620 | DEBUGFS_ADD_FILE(thermal_throttling, dir_data, S_IRUSR); |
1618 | DEBUGFS_ADD_FILE(disable_ht40, dir_data, S_IWUSR | S_IRUSR); | 1621 | DEBUGFS_ADD_FILE(disable_ht40, dir_data, S_IWUSR | S_IRUSR); |
1619 | DEBUGFS_ADD_FILE(rx_statistics, dir_debug, S_IRUSR); | 1622 | DEBUGFS_ADD_FILE(rx_statistics, dir_debug, S_IRUSR); |