From 0f0a6fe907e6233f95546599ee3fe48d91259dce Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 27 Oct 2014 10:39:52 +0000 Subject: EmbeddedPkg/Lan9118Dxe: Switch back the driver in stopped state after shutdown Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron Reviewed-By: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16240 6f19259b-4bc3-4df7-8a09-765794883524 --- EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'EmbeddedPkg/Drivers/Lan9118Dxe') diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c index 625abb8e31..191760ccf7 100644 --- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c +++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c @@ -489,6 +489,9 @@ SnpShutdown ( return Status; } + // Back to the started and thus not initialized state + Snp->Mode->State = EfiSimpleNetworkStarted; + return EFI_SUCCESS; } -- cgit v1.2.3