Fix all fo the bugs I introduced "improving" the code of others.

mmc_ll_cmds.c: mmc_mode_select and mmc_get_configuration now work.
mmc_hl_cmds.c: bug introduced by turning a var into a pointer to that variable.
This commit is contained in:
R. Bernstein
2010-02-08 16:56:04 -05:00
parent ff23f198d7
commit 100654b51b
4 changed files with 2 additions and 15 deletions

View File

@@ -83,7 +83,7 @@ mmc_get_disctype( const CdIo_t *p_cdio, unsigned int i_timeout_ms,
q = p+4;
*p_disctype = CDIO_MMC_DISCTYPE_NO_DISC;
while ((p_disctype == CDIO_MMC_DISCTYPE_NO_DISC) &&
while ((CDIO_MMC_DISCTYPE_NO_DISC == *p_disctype) &&
(q < p + profiles_list_length)) {
profile_number = CDIO_MMC_GET_LEN16(q);
profile_active = q[2] & 0x01;