]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qla2xxx: Return the fabric command state for non-task management requests
authorDilip Kumar Uppugandla <dilip@purestorage.com>
Tue, 21 Jul 2015 22:07:55 +0000 (15:07 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 23:31:58 +0000 (16:31 -0700)
commit5155ce5f8395730f681fe48cdc8867838e3a3f2c
tree538781200ba7b67cd3dfbc259fff328405e5d97f
parent2d041306b669e281427de7dd398e74335c9f5042
qla2xxx: Return the fabric command state for non-task management requests

Invoking get_cmd_state for qla2xxx always returns 0. Instead change it
to return the actual fabric state from qla_tgt_cmd. This will help with
debugging.

Signed-off-by: Dilip Kumar Uppugandla <dilip@purestorage.com>
Signed-off-by: Spencer Baugh <sbaugh@catern.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/tcm_qla2xxx.c