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) {