e1000e: Only run S0ix flows if shutdown succeeded
authorMario Limonciello <mario.limonciello@dell.com>
Mon, 14 Dec 2020 19:29:32 +0000 (13:29 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 23 Dec 2020 23:18:33 +0000 (15:18 -0800)
commit808e0d8832cc81738f3e8df12dff0688352baf50
tree83f07b9c5c2ce2ac82a245ab5aae38703659f760
parent1f45dc22066797479072978feeada0852502e180
e1000e: Only run S0ix flows if shutdown succeeded

If the shutdown failed, the part will be thawed and running
S0ix flows will put it into an undefined state.

Reported-by: Alexander Duyck <alexander.duyck@gmail.com>
Reviewed-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Tested-by: Yijun Shen <Yijun.shen@dell.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c