Small correction of rev 4416
This commit is contained in:
parent
42b6c22dca
commit
854ebd647c
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2011.10.31.164236"
|
#define Cdrskin_timestamP "2011.11.01.221713"
|
||||||
|
@ -445,9 +445,9 @@ static int spc_sense_caps_al(struct burn_drive *d, int *alloc_len, int flag)
|
|||||||
m->cur_read_speed = page[14] * 256 + page[15];
|
m->cur_read_speed = page[14] * 256 + page[15];
|
||||||
|
|
||||||
m->max_write_speed = m->cur_write_speed = 0;
|
m->max_write_speed = m->cur_write_speed = 0;
|
||||||
if (page_length >= 20)
|
if (page_length >= 18) /* note: page length is page size - 2 */
|
||||||
m->max_write_speed = page[18] * 256 + page[19];
|
m->max_write_speed = page[18] * 256 + page[19];
|
||||||
if (page_length >= 22)
|
if (page_length >= 20)
|
||||||
m->cur_write_speed = page[20] * 256 + page[21];
|
m->cur_write_speed = page[20] * 256 + page[21];
|
||||||
|
|
||||||
/* ts A61021 : New field to be set by atip (or following MMC-3 info) */
|
/* ts A61021 : New field to be set by atip (or following MMC-3 info) */
|
||||||
|
Loading…
Reference in New Issue
Block a user