From 953ceeda97ddfed2c6e0bea3706257d57197f269 Mon Sep 17 00:00:00 2001 From: James Smart Date: Fri, 22 May 2015 10:42:37 -0400 Subject: [PATCH] lpfc: Devices are not discovered during takeaway/giveback testing When a remote nport changes it's DID, a new ndlp is used. However, we left the old ndlp state unchanged and still in a discovery state. The may stall discovery resulting in some devices not being discovered. Correct by swapping the state of the 2 ndlp's when a DID swap is detected. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Reviewed-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-format-patch failed