qla2xxx: Host reset handling in ABTS path.
authorArun Easi <arun.easi@qlogic.com>
Thu, 25 Sep 2014 10:14:53 +0000 (06:14 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Sep 2014 12:25:07 +0000 (14:25 +0200)
commit80187f8e7b05dff98c30909b668b5eb72482c3cb
tree1c088273de03cab8dcd6fd6d5b7be60132483450
parentb6a029e1b0aba337ee54de66b1e428dd3bb624ca
qla2xxx: Host reset handling in ABTS path.

ABTS path takes path similar to regular task management, but
reset_count was not initialized when allocating mcmd causing
the response to get dropped in qlt_xmit_tm_rsp. Fix this by
initializing reset_count correctly.

Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_target.c