Bug fix: Endless loop if transport error occurs while waiting for drive ready
This commit is contained in:
parent
ee17dc8efb
commit
7684761afc
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2015.10.23.121415"
|
#define Cdrskin_timestamP "2015.10.23.122644"
|
||||||
|
@ -128,7 +128,7 @@ int spc_test_unit_ready_r(struct burn_drive *d, int *key, int *asc, int *ascq,
|
|||||||
((c->sense[2] & 0x0f) == 0 || (c->sense[2] & 0x0f) == 2) &&
|
((c->sense[2] & 0x0f) == 0 || (c->sense[2] & 0x0f) == 2) &&
|
||||||
(c->sense[15] & 0x80))
|
(c->sense[15] & 0x80))
|
||||||
*progress = (c->sense[16] << 8) + c->sense[17];
|
*progress = (c->sense[16] << 8) + c->sense[17];
|
||||||
return (key == 0);
|
return (*key == 0);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user