igb: call pci_save_state after pci_restore_state
authorNick Nunley <nicholasx.d.nunley@intel.com>
Wed, 17 Feb 2010 01:02:19 +0000 (01:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:21:33 +0000 (13:21 -0800)
commitb94f2d775a71ed09dc8ca2bf24c611bdce9e82e7
tree05aa580db96c9ebc1ad67aea289d6d2c9c6ab6ff
parent88a268c1a11a2e94b7c55a8cfe97892d845887c8
igb: call pci_save_state after pci_restore_state

This patch adds calls to pci_save_state() immediately after
calls 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/igb/igb_main.c