igb: move get_hw_control within igb_resume.
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 6 Feb 2009 23:21:10 +0000 (23:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 10:43:14 +0000 (02:43 -0800)
commita8564f033efade1b6f027c4bb807cdf8cf5c9570
tree609ec809a55ced0ec318ab8712e44fac47f2c04d
parent4a3c6433e48592f260278966742a99e0d77de3cc
igb: move get_hw_control within igb_resume.

Move igb_get_hw_control up so that it is called just after the reset in
igb_resume.  This notifies the HW sooner that the driver is reassuming
control of the device.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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