Reduced number of GET CONFIGURATION transactions
This commit is contained in:
parent
1286079d3d
commit
a9affdc82a
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2014.08.14.085850"
|
||||
#define Cdrskin_timestamP "2014.08.31.110308"
|
||||
|
@ -77,6 +77,8 @@ int burn_setup_drive(struct burn_drive *d, char *fname)
|
||||
d->released = 1;
|
||||
d->stdio_fd = -1;
|
||||
d->status = BURN_DISC_UNREADY;
|
||||
d->erasable = 0;
|
||||
d->current_profile = -1;
|
||||
d->do_stream_recording = 0;
|
||||
d->stream_recording_start= 0;
|
||||
d->role_5_nwa = 0;
|
||||
|
@ -3240,6 +3240,9 @@ void mmc_get_configuration(struct burn_drive *d)
|
||||
int alloc_len = 8, ret;
|
||||
char *msg = NULL;
|
||||
|
||||
if (d->current_profile > 0 && d->current_profile < 0xffff)
|
||||
goto ex;
|
||||
|
||||
mmc_start_if_needed(d, 1);
|
||||
if (mmc_function_spy(d, "mmc_get_configuration") <= 0)
|
||||
goto ex;
|
||||
|
Loading…
Reference in New Issue
Block a user