Bug fix: A failed MMC BLANK command did not cause error indication by libburn

This commit is contained in:
Thomas Schmitt 2014-05-03 10:37:07 +00:00
parent d00e3d9d9d
commit 15838179d8
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2014.04.29.061645"
#define Cdrskin_timestamP "2014.05.03.103448"

View File

@ -2680,6 +2680,10 @@ void mmc_erase(struct burn_drive *d, int fast)
c->dir = NO_TRANSFER;
c->timeout = Libburn_mmc_blank_timeouT;
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)