aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-power.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-power.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c
index bd6f600027d1..55ec31ec9e15 100644
--- a/drivers/net/wireless/iwlwifi/iwl-power.c
+++ b/drivers/net/wireless/iwlwifi/iwl-power.c
@@ -250,7 +250,7 @@ static int iwl_update_power_command(struct iwl_priv *priv,
250 250
251 251
252/* 252/*
253 * calucaute the final power mode index 253 * compute the final power mode index
254 */ 254 */
255int iwl_power_update_mode(struct iwl_priv *priv, bool force) 255int iwl_power_update_mode(struct iwl_priv *priv, bool force)
256{ 256{
@@ -267,9 +267,9 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force)
267 return -EAGAIN; 267 return -EAGAIN;
268 } 268 }
269 269
270 /* If on battery, set to 3, 270 /* If on battery, set to 3,
271 * if plugged into AC power, set to CAM ("continuously aware mode"), 271 * if plugged into AC power, set to CAM ("continuously aware mode"),
272 * else user level */ 272 * else user level */
273 273
274 switch (setting->system_power_setting) { 274 switch (setting->system_power_setting) {
275 case IWL_POWER_SYS_AUTO: 275 case IWL_POWER_SYS_AUTO: