+ if ((UsbMass->Pdt != USB_PDT_CDROM) && (CmdSet == USB_MASS_STORE_SCSI)) {\r
+ //\r
+ // ModeSense is required for the device with PDT of 0x00/0x07/0x0E,\r
+ // which is from [MassStorageBootabilitySpec-Page7].\r
+ // ModeSense(10) is useless here, while ModeSense(6) defined in SCSI\r
+ // could get the information of WriteProtected.\r
+ // Since not all device support this command, so skip if fail.\r
+ //\r
+ UsbScsiModeSense (UsbMass);\r
+ }\r