diff options
author | Ronald Cron <ronald.cron@arm.com> | 2014-10-27 10:39:52 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2014-10-27 10:39:52 +0000 |
commit | 0f0a6fe907e6233f95546599ee3fe48d91259dce (patch) | |
tree | 3e5c115d887e7937bd55d7dcdd551ede2f192bd3 /EmbeddedPkg/Drivers/Lan9118Dxe | |
parent | 0150e14dba3e34ed8e9225fcb6e3d9b30200423c (diff) | |
download | edk2-0f0a6fe907e6233f95546599ee3fe48d91259dce.zip edk2-0f0a6fe907e6233f95546599ee3fe48d91259dce.tar.gz edk2-0f0a6fe907e6233f95546599ee3fe48d91259dce.tar.bz2 |
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/Lan9118Dxe')
-rw-r--r-- | EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c index 625abb8..191760c 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;
}
|