Bug fix: A failed MMC BLANK command did not cause error indication by libburn
This commit is contained in:
parent
d00e3d9d9d
commit
15838179d8
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2014.04.29.061645"
|
#define Cdrskin_timestamP "2014.05.03.103448"
|
||||||
|
@ -2680,6 +2680,10 @@ void mmc_erase(struct burn_drive *d, int fast)
|
|||||||
c->dir = NO_TRANSFER;
|
c->dir = NO_TRANSFER;
|
||||||
c->timeout = Libburn_mmc_blank_timeouT;
|
c->timeout = Libburn_mmc_blank_timeouT;
|
||||||
d->issue_command(d, c);
|
d->issue_command(d, c);
|
||||||
|
if (c->error) {
|
||||||
|
d->cancel = 1;
|
||||||
|
scsi_notify_error(d, c, c->sense, 14, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void mmc_read_lead_in(struct burn_drive *d, struct buffer *buf)
|
void mmc_read_lead_in(struct burn_drive *d, struct buffer *buf)
|
||||||
|
Loading…
Reference in New Issue
Block a user