Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183936
b: refs/heads/master
c: d3a5719
h: refs/heads/master
v: v3
  • Loading branch information
Reinette Chatre committed Jan 29, 2010
1 parent 2d0ca5a commit f4a2935
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ae810776a51dc4dc6580013b0f6ba0f34d2b165
refs/heads/master: d3a571971e5af241074947fc80f6284677f6e014
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,9 @@ static ssize_t iwl_dbgfs_sleep_level_override_write(struct file *file,

priv->power_data.debug_sleep_level_override = value;

mutex_lock(&priv->mutex);
iwl_power_update_mode(priv, true);
mutex_unlock(&priv->mutex);

return count;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/iwlwifi/iwl-power.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ static int iwl_set_power(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd)
sizeof(struct iwl_powertable_cmd), cmd);
}


/* priv->mutex must be held */
int iwl_power_update_mode(struct iwl_priv *priv, bool force)
{
int ret = 0;
Expand Down

0 comments on commit f4a2935

Please sign in to comment.