UsbMassBoot: treat all USB drives as removable

This commit is contained in:
Matt DeVillier
2016-11-24 12:24:34 -06:00
parent ed1cf61e3e
commit 575764deeb

View File

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