mirror of https://github.com/acidanthera/audk.git
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:
parent
dc2b05a200
commit
ee6e8714a0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue