qla2x00t-32gbit: Fix qla24xx_async_abort_cmd()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8556 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-08-25 03:02:56 +00:00
parent a3c05add05
commit 0baeaf170c

View File

@@ -168,6 +168,7 @@ static int qla24xx_async_abort_cmd(srb_t *cmd_sp, bool wait)
wait_for_completion(&abt_iocb->u.abt.comp);
rval = abt_iocb->u.abt.comp_status == CS_COMPLETE ?
QLA_SUCCESS : QLA_FUNCTION_FAILED;
sp->free(sp);
}
return rval;