diff options
Diffstat (limited to 'sys/dev/ata/ata-queue.c')
-rw-r--r-- | sys/dev/ata/ata-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index 975b7a0..8a6a10b 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -163,7 +163,7 @@ ata_start(struct ata_channel *ch) /* lock the ATA HW for this request */ mtx_lock(&ch->queue_mtx); ch->locking(ch, ATA_LF_LOCK); - if (!ATA_LOCK_CH(ch, ATA_ACTIVE)) { + if (!ATA_LOCK_CH(ch)) { mtx_unlock(&ch->queue_mtx); return; } |