Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195215
b: refs/heads/master
c: 3a065ab
h: refs/heads/master
i:
  195213: e83e183
  195211: 3683c37
  195207: b76f8e6
  195199: bf46c74
v: v3
  • Loading branch information
Johannes Berg authored and Reinette Chatre committed May 10, 2010
1 parent 5d7d169 commit 344abc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 832f47e333c7d0db632b57e9f07956ae40dd481d
refs/heads/master: 3a065ab3b57bedefa1d59c88f731da6513ac482a
5 changes: 1 addition & 4 deletions trunk/drivers/net/wireless/iwlwifi/iwl-power.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,7 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force)
update_chains = priv->chain_noise_data.state == IWL_CHAIN_NOISE_DONE ||
priv->chain_noise_data.state == IWL_CHAIN_NOISE_ALIVE;

if (priv->vif)
dtimper = priv->hw->conf.ps_dtim_period;
else
dtimper = 1;
dtimper = priv->hw->conf.ps_dtim_period ?: 1;

if (priv->cfg->broken_powersave)
iwl_power_sleep_cam_cmd(priv, &cmd);
Expand Down

0 comments on commit 344abc5

Please sign in to comment.