summaryrefslogtreecommitdiffstats
path: root/src/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ata')
-rw-r--r--src/drivers/ata/aoedev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/ata/aoedev.c b/src/drivers/ata/aoedev.c
index 0350bc097..9679fc1bd 100644
--- a/src/drivers/ata/aoedev.c
+++ b/src/drivers/ata/aoedev.c
@@ -37,7 +37,8 @@ static int aoe_command ( struct ata_device *ata,
struct aoe_device *aoedev
= container_of ( ata, struct aoe_device, ata );
- return aoe_issue_split ( &aoedev->aoe, command );
+ aoe_issue ( &aoedev->aoe, command );
+ return async_wait ( &aoedev->aoe.aop );
}
/**