diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-power.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-power.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-power.c b/drivers/net/wireless/iwlegacy/iwl-power.c index 63862464fcd..33aec397247 100644 --- a/drivers/net/wireless/iwlegacy/iwl-power.c +++ b/drivers/net/wireless/iwlegacy/iwl-power.c | |||
@@ -68,19 +68,19 @@ static void il_power_sleep_cam_cmd(struct il_priv *il, | |||
68 | if (il->power_data.pci_pm) | 68 | if (il->power_data.pci_pm) |
69 | cmd->flags |= IL_POWER_PCI_PM_MSK; | 69 | cmd->flags |= IL_POWER_PCI_PM_MSK; |
70 | 70 | ||
71 | IL_DEBUG_POWER(il, "Sleep command for CAM\n"); | 71 | D_POWER("Sleep command for CAM\n"); |
72 | } | 72 | } |
73 | 73 | ||
74 | static int | 74 | static int |
75 | il_set_power(struct il_priv *il, struct il_powertable_cmd *cmd) | 75 | il_set_power(struct il_priv *il, struct il_powertable_cmd *cmd) |
76 | { | 76 | { |
77 | IL_DEBUG_POWER(il, "Sending power/sleep command\n"); | 77 | D_POWER("Sending power/sleep command\n"); |
78 | IL_DEBUG_POWER(il, "Flags value = 0x%08X\n", cmd->flags); | 78 | D_POWER("Flags value = 0x%08X\n", cmd->flags); |
79 | IL_DEBUG_POWER(il, "Tx timeout = %u\n", | 79 | D_POWER("Tx timeout = %u\n", |
80 | le32_to_cpu(cmd->tx_data_timeout)); | 80 | le32_to_cpu(cmd->tx_data_timeout)); |
81 | IL_DEBUG_POWER(il, "Rx timeout = %u\n", | 81 | D_POWER("Rx timeout = %u\n", |
82 | le32_to_cpu(cmd->rx_data_timeout)); | 82 | le32_to_cpu(cmd->rx_data_timeout)); |
83 | IL_DEBUG_POWER(il, | 83 | D_POWER( |
84 | "Sleep interval vector = { %d , %d , %d , %d , %d }\n", | 84 | "Sleep interval vector = { %d , %d , %d , %d , %d }\n", |
85 | le32_to_cpu(cmd->sleep_interval[0]), | 85 | le32_to_cpu(cmd->sleep_interval[0]), |
86 | le32_to_cpu(cmd->sleep_interval[1]), | 86 | le32_to_cpu(cmd->sleep_interval[1]), |
@@ -114,7 +114,7 @@ il_power_set_mode(struct il_priv *il, struct il_powertable_cmd *cmd, | |||
114 | /* scan complete use sleep_power_next, need to be updated */ | 114 | /* scan complete use sleep_power_next, need to be updated */ |
115 | memcpy(&il->power_data.sleep_cmd_next, cmd, sizeof(*cmd)); | 115 | memcpy(&il->power_data.sleep_cmd_next, cmd, sizeof(*cmd)); |
116 | if (test_bit(STATUS_SCANNING, &il->status) && !force) { | 116 | if (test_bit(STATUS_SCANNING, &il->status) && !force) { |
117 | IL_DEBUG_INFO(il, "Defer power set mode while scanning\n"); | 117 | D_INFO("Defer power set mode while scanning\n"); |
118 | return 0; | 118 | return 0; |
119 | } | 119 | } |
120 | 120 | ||
@@ -129,7 +129,7 @@ il_power_set_mode(struct il_priv *il, struct il_powertable_cmd *cmd, | |||
129 | if (il->cfg->ops->lib->update_chain_flags && update_chains) | 129 | if (il->cfg->ops->lib->update_chain_flags && update_chains) |
130 | il->cfg->ops->lib->update_chain_flags(il); | 130 | il->cfg->ops->lib->update_chain_flags(il); |
131 | else if (il->cfg->ops->lib->update_chain_flags) | 131 | else if (il->cfg->ops->lib->update_chain_flags) |
132 | IL_DEBUG_POWER(il, | 132 | D_POWER( |
133 | "Cannot update the power, chain noise " | 133 | "Cannot update the power, chain noise " |
134 | "calibration running: %d\n", | 134 | "calibration running: %d\n", |
135 | il->chain_noise_data.state); | 135 | il->chain_noise_data.state); |