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
This commit is contained in:
vanjeff 2010-03-27 00:48:22 +00:00
parent dc2b05a200
commit ee6e8714a0
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}