e1000: call pci_save_state after pci_restore_state
authorNick Nunley <nicholasx.d.nunley@intel.com>
Wed, 3 Feb 2010 14:49:48 +0000 (14:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 03:39:57 +0000 (19:39 -0800)
commitdbb5aaebc44ce7f64b12904c58fbc1dd487982a7
tree1e12e8b4bb53365666cc5e9763989b8c6535069b
parentb548192acaebcb05d6a87d1e94f19835b1a18a8b
e1000: call pci_save_state after pci_restore_state

This patch adds a call to pci_save_state() immediately after
the call to pci_restore_state(). Due to a change in the behavior
of pci_restore_state() it is necessary to call pci_save_state()
to keep the state_saved flag. This patch is based on a similar
patch for ixgbe.

Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c