diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-power.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index 581c683a8507..cda6a94d6cc9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c | |||
@@ -318,10 +318,7 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force) | |||
318 | update_chains = priv->chain_noise_data.state == IWL_CHAIN_NOISE_DONE || | 318 | update_chains = priv->chain_noise_data.state == IWL_CHAIN_NOISE_DONE || |
319 | priv->chain_noise_data.state == IWL_CHAIN_NOISE_ALIVE; | 319 | priv->chain_noise_data.state == IWL_CHAIN_NOISE_ALIVE; |
320 | 320 | ||
321 | if (priv->vif) | 321 | dtimper = priv->hw->conf.ps_dtim_period ?: 1; |
322 | dtimper = priv->hw->conf.ps_dtim_period; | ||
323 | else | ||
324 | dtimper = 1; | ||
325 | 322 | ||
326 | if (priv->cfg->broken_powersave) | 323 | if (priv->cfg->broken_powersave) |
327 | iwl_power_sleep_cam_cmd(priv, &cmd); | 324 | iwl_power_sleep_cam_cmd(priv, &cmd); |