/* Sends the CBW packet of the scsi INQUIRY command.  */
static void uhi_msc_scsi_inquiry(uhi_msc_scsi_callback_t callback)
/* Sends the CBW packet of the scsi INQUIRY command.  */
static void uhi_msc_scsi_inquiry(uhi_msc_scsi_callback_t callback)
{
	uhi_msc_scsi_callback = callback;
	uhi_msc_cbw.dCBWDataTransferLength = sizeof(struct scsi_inquiry_data);
	uhi_msc_cbw.bmCBWFlags = USB_CBW_DIRECTION_IN;
	uhi_msc_cbw.bCBWCBLength = 6;
	memset(uhi_msc_cbw.CDB, 0, sizeof(uhi_msc_cbw.CDB));
	uhi_msc_cbw.CDB[0] = SPC_INQUIRY;
	uhi_msc_cbw.CDB[4] = sizeof(struct scsi_inquiry_data);
	uhi_msc_scsi(uhi_msc_scsi_inquiry_done, (uint8_t *) & uhi_msc_inquiry);
}