diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-03-27 00:48:22 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-03-27 00:48:22 +0000 |
commit | ee6e8714a08e845e3d4b46c022e7da717dd7fbac (patch) | |
tree | b899e7191c09403ed14afcc254b74fb8f770c2f3 /MdeModulePkg | |
parent | dc2b05a2002e61b30459dc7751897040dd6e16fa (diff) | |
download | edk2-ee6e8714a08e845e3d4b46c022e7da717dd7fbac.tar.gz edk2-ee6e8714a08e845e3d4b46c022e7da717dd7fbac.tar.bz2 edk2-ee6e8714a08e845e3d4b46c022e7da717dd7fbac.zip |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c | 4 |
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;
}
|