Avoiding to load speed descriptor list twice

This commit is contained in:
Thomas Schmitt 2011-07-04 14:39:47 +00:00
parent 1165c781f9
commit 9a456150bd
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.06.22.093127" #define Cdrskin_timestamP "2011.07.04.143922"

View File

@ -781,6 +781,7 @@ void spc_getcaps(struct burn_drive *d)
if (mmc_function_spy(d, "getcaps") <= 0) if (mmc_function_spy(d, "getcaps") <= 0)
return; return;
burn_speed_descriptor_destroy(&(d->mdata->speed_descriptors), 1);
spc_inquiry(d); spc_inquiry(d);
spc_sense_caps(d); spc_sense_caps(d);
spc_sense_error_params(d); spc_sense_error_params(d);