diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/ata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 5161bbd859..2451a862ba 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -327,11 +327,11 @@ int ata_write_sectors(unsigned long start, | |||
327 | buf += SECTOR_SIZE; | 327 | buf += SECTOR_SIZE; |
328 | } | 328 | } |
329 | 329 | ||
330 | led(false); | ||
331 | |||
332 | if(!wait_for_end_of_transfer()) | 330 | if(!wait_for_end_of_transfer()) |
333 | i = -3; | 331 | i = -3; |
334 | 332 | ||
333 | led(false); | ||
334 | |||
335 | mutex_unlock(&ata_mtx); | 335 | mutex_unlock(&ata_mtx); |
336 | 336 | ||
337 | if ( delayed_write ) | 337 | if ( delayed_write ) |