diff options
author | David S. Miller <davem@davemloft.net> | 2009-02-05 15:08:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-05 15:08:11 -0800 |
commit | 12402b5b7a2aa7ebed246db4570a5eb905fe79ea (patch) | |
tree | 1751dcf3e63841d8cce4ddb575e3d25a0b6a825b /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 7b5e56f9d635643ad54f2f42e69ad16b80a2cff1 (diff) | |
parent | c4e061ace75513aee227090486cc46dec7810c00 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 95d01984c80..5b44d322b99 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c @@ -8143,6 +8143,7 @@ static int iwl3945_pci_suspend(struct pci_dev *pdev, pm_message_t state) priv->is_open = 1; } + pci_save_state(pdev); pci_set_power_state(pdev, PCI_D3hot); return 0; @@ -8153,6 +8154,7 @@ static int iwl3945_pci_resume(struct pci_dev *pdev) struct iwl3945_priv *priv = pci_get_drvdata(pdev); pci_set_power_state(pdev, PCI_D0); + pci_restore_state(pdev); if (priv->is_open) iwl3945_mac_start(priv->hw); |