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
This commit is contained in:
Ronald Cron 2014-10-27 10:39:52 +00:00 committed by oliviermartin
parent 0150e14dba
commit 0f0a6fe907
1 changed files with 3 additions and 0 deletions

View File

@ -489,6 +489,9 @@ SnpShutdown (
return Status;
}
// Back to the started and thus not initialized state
Snp->Mode->State = EfiSimpleNetworkStarted;
return EFI_SUCCESS;
}