scsi: fnic: Avoid sending reset to firmware when another reset is in progress
authorSatish Kharat <satishkh@cisco.com>
Wed, 14 Dec 2016 21:20:41 +0000 (13:20 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Aug 2017 01:59:49 +0000 (18:59 -0700)
commit2803ea76366a735f69d81dbaeae19b8dbf44a48d
tree4820075c9ce38910154dddc7bdb74a1f3234e3d7
parent3b6f4e292cbdd46c03303a20417e0c05ddb73bda
scsi: fnic: Avoid sending reset to firmware when another reset is in progress

[ Upstream commit 9698b6f473555a722bf81a3371998427d5d27bde ]

This fix is to avoid calling fnic_fw_reset_handler through
fnic_host_reset when a finc reset is alreay in progress.

Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_scsi.c