summaryrefslogtreecommitdiff
path: root/EmbeddedPkg/Drivers
diff options
context:
space:
mode:
authorRonald Cron <ronald.cron@arm.com>2014-10-27 10:39:52 +0000
committeroliviermartin <oliviermartin@Edk2>2014-10-27 10:39:52 +0000
commit0f0a6fe907e6233f95546599ee3fe48d91259dce (patch)
tree3e5c115d887e7937bd55d7dcdd551ede2f192bd3 /EmbeddedPkg/Drivers
parent0150e14dba3e34ed8e9225fcb6e3d9b30200423c (diff)
downloadedk2-platforms-0f0a6fe907e6233f95546599ee3fe48d91259dce.tar.xz
EmbeddedPkg/Lan9118Dxe: Switch back the driver in stopped state after shutdown
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16240 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Drivers')
-rw-r--r--EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c3
1 files changed, 3 insertions, 0 deletions
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;
}