Revert "UsbMassBoot: treat all USB drives as removable"

This reverts commit de4592d59e16f91b1cf480478572533be6cc5f1b.
This commit is contained in:
Matt DeVillier
2019-11-22 15:34:37 -06:00
parent 47794944e6
commit 964f80253a

View File

@@ -390,7 +390,7 @@ UsbBootInquiry (
// from the inquiry data.
//
UsbMass->Pdt = (UINT8) (USB_BOOT_PDT (UsbMass->InquiryData.Pdt));
Media->RemovableMedia = TRUE;
Media->RemovableMedia = (BOOLEAN) (USB_BOOT_REMOVABLE (UsbMass->InquiryData.Removable));
//
// Set block size to the default value of 512 Bytes, in case no media is present at first time.
//