diff --git a/drivers/ata/ide-sff.c b/drivers/ata/ide-sff.c index 0e8b744..a7f2647 100644 --- a/drivers/ata/ide-sff.c +++ b/drivers/ata/ide-sff.c @@ -298,6 +298,9 @@ rc = ata_wr_cmd(ide, ATA_CMD_WRITE); if (rc != 0) return rc; + rc = ata_wait_ready(ide, MAX_TIMEOUT); + if (rc != 0) + return rc; ata_wr_sector(ide, buffer); num_blocks--; sector++;