diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index 306c852b1578..21c5e6abfbd0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c | |||
@@ -163,6 +163,11 @@ static void iwl_static_sleep_cmd(struct iwl_priv *priv, | |||
163 | else | 163 | else |
164 | cmd->flags &= ~IWL_POWER_SLEEP_OVER_DTIM_MSK; | 164 | cmd->flags &= ~IWL_POWER_SLEEP_OVER_DTIM_MSK; |
165 | 165 | ||
166 | if (priv->cfg->base_params->shadow_reg_enable) | ||
167 | cmd->flags |= IWL_POWER_SHADOW_REG_ENA; | ||
168 | else | ||
169 | cmd->flags &= ~IWL_POWER_SHADOW_REG_ENA; | ||
170 | |||
166 | if (priv->cfg->bt_params && | 171 | if (priv->cfg->bt_params && |
167 | priv->cfg->bt_params->advanced_bt_coexist) { | 172 | priv->cfg->bt_params->advanced_bt_coexist) { |
168 | if (!priv->cfg->bt_params->bt_sco_disable) | 173 | if (!priv->cfg->bt_params->bt_sco_disable) |
@@ -245,6 +250,11 @@ static void iwl_power_fill_sleep_cmd(struct iwl_priv *priv, | |||
245 | if (priv->power_data.pci_pm) | 250 | if (priv->power_data.pci_pm) |
246 | cmd->flags |= IWL_POWER_PCI_PM_MSK; | 251 | cmd->flags |= IWL_POWER_PCI_PM_MSK; |
247 | 252 | ||
253 | if (priv->cfg->base_params->shadow_reg_enable) | ||
254 | cmd->flags |= IWL_POWER_SHADOW_REG_ENA; | ||
255 | else | ||
256 | cmd->flags &= ~IWL_POWER_SHADOW_REG_ENA; | ||
257 | |||
248 | if (priv->cfg->bt_params && | 258 | if (priv->cfg->bt_params && |
249 | priv->cfg->bt_params->advanced_bt_coexist) { | 259 | priv->cfg->bt_params->advanced_bt_coexist) { |
250 | if (!priv->cfg->bt_params->bt_sco_disable) | 260 | if (!priv->cfg->bt_params->bt_sco_disable) |