/* Decodes the result of scsi WRITE 10 command.  */
static void uhi_msc_scsi_write_10_done(bool b_cbw_succes)
/* Decodes the result of scsi WRITE 10 command.  */
static void uhi_msc_scsi_write_10_done(bool b_cbw_succes)
{
	if ((!b_cbw_succes) || (uhi_msc_csw.bCSWStatus != USB_CSW_STATUS_PASS)
			|| uhi_msc_csw.dCSWDataResidue) {
		uhi_msc_lun_sel->status = LUN_FAIL;
		uhi_msc_scsi_callback(false);
		return;
	}
	uhi_msc_scsi_callback(true);
}