|
@@ -241,9 +241,11 @@ static void iwl5000_nic_config(struct iwl_priv *priv)
|
|
|
* (PCIe power is lost before PERST# is asserted),
|
|
|
* causing ME FW to lose ownership and not being able to obtain it back.
|
|
|
*/
|
|
|
- iwl_set_bits_mask_prph(priv, APMG_PS_CTRL_REG,
|
|
|
+ iwl_grab_nic_access(priv);
|
|
|
+ iwl_set_bits_mask_prph(priv, APMG_PS_CTRL_REG,
|
|
|
APMG_PS_CTRL_EARLY_PWR_OFF_RESET_DIS,
|
|
|
~APMG_PS_CTRL_EARLY_PWR_OFF_RESET_DIS);
|
|
|
+ iwl_release_nic_access(priv);
|
|
|
|
|
|
spin_unlock_irqrestore(&priv->lock, flags);
|
|
|
}
|