scsi: libfc: Do not login if the port is already started
authorHannes Reinecke <hare@suse.de>
Fri, 30 Sep 2016 09:01:18 +0000 (11:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:47 +0000 (17:29 -0500)
commit06ee2571a438653bd14c33c70379a5f008a91901
tree8b3dde0e59f316662d1c976008f22251132b19bc
parente5a20009dae054344d71a79e9bfbea84152f3eb8
scsi: libfc: Do not login if the port is already started

When the port is already started we don't need to login; that
will only confuse the state machine.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c