scsi: aacraid: use aac_tmf_callback for reset fib
authorHannes Reinecke <hare@suse.de>
Fri, 30 Jun 2017 17:18:09 +0000 (19:18 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 7 Aug 2017 18:04:00 +0000 (14:04 -0400)
commit0d643ff3c35351a42d3f6b1e047302afdaa02d55
tree5d4c11f20e2f6b6a87612cf9e61d9ac9b533a702
parentf799319e0746ec1cd86e35983c96e99fa0b22f07
scsi: aacraid: use aac_tmf_callback for reset fib

When sending a reset fib we shouldn't rely on the scsi command,
but rather set the TMF status in the map_info->reset_state variable.
That allows us to send a TMF independent on a scsi command.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/linit.c