summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-27 00:48:22 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-27 00:48:22 +0000
commitee6e8714a08e845e3d4b46c022e7da717dd7fbac (patch)
treeb899e7191c09403ed14afcc254b74fb8f770c2f3
parentdc2b05a2002e61b30459dc7751897040dd6e16fa (diff)
downloadedk2-platforms-ee6e8714a08e845e3d4b46c022e7da717dd7fbac.tar.xz
remove PxeBc->Stop () when EFI_BUFFER_TOO_SMALL, the calling PxeBc->Stop() in Driver Binding Stop() could make sure PXE functionality is stopped when disconnecting UefiPxeBcDxe module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10318 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c
index 2150e0403f..5ffae2ef79 100644
--- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c
+++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c
@@ -2716,7 +2716,9 @@ EfiPxeLoadFile (
if (Buffer != NULL) {
AsciiPrint ("PXE-E05: Download buffer is smaller than requested file.\n");
} else {
- PxeBc->Stop (PxeBc);
+ //
+ // The functionality of PXE Base Code protocol will not be stopped.
+ //
return Status;
}