From 6ee21b60a8adb82452a15afef4bf4938e3eec4b0 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Fri, 4 Dec 2009 03:01:52 +0000 Subject: [PATCH] The functionality of PXE Base Code protocol will not be stopped, when downloading is successfully. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9512 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c index b41dc76415..2dc66f168c 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c @@ -2697,7 +2697,10 @@ EfiPxeLoadFile ( // Check download status // if (Status == EFI_SUCCESS) { - PxeBc->Stop (PxeBc); + // + // The functionality of PXE Base Code protocol will not be stopped, + // when downloading is successfully. + // return EFI_SUCCESS; } else if (Status == EFI_BUFFER_TOO_SMALL) {