]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b8aab45d772c11a2eefcbfe2f55223a9d8ef5b1
tree05aa580db96c9ebc1ad67aea289d6d2c9c6ab6ff
parent9b9ec6dd87badee86c66a3a39f043c7c363c94eb
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