scsi: libfc: don't advance state machine for incoming FLOGI
authorHannes Reinecke <hare@suse.de>
Fri, 30 Sep 2016 09:01:19 +0000 (11:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:47 +0000 (17:29 -0500)
commitf89b8d67db792a8a303e14e3d02785035e6f1a05
tree063c8f36871a7b22612aa82453be073dd5e3bc1c
parent06ee2571a438653bd14c33c70379a5f008a91901
scsi: libfc: don't advance state machine for incoming FLOGI

When we receive an FLOGI but have already sent our own we should
not advance the state machine but rather wait for our FLOGI to
return before continuing with PLOGI.

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