]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc35057aae049e054b1a7afd0803ef0a238ce5f18
tree8b3dde0e59f316662d1c976008f22251132b19bc
parent80b5f2ef86099bf39281768bf0a37188ecea821b
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