[fc] Use port WWN rather than node WWN as the primary Fibre Channel name

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2010-10-15 01:06:08 +01:00
parent a9c799250f
commit 60b690141e
4 changed files with 41 additions and 42 deletions

View File

@@ -677,7 +677,7 @@ static int fc_els_plogi_rx ( struct fc_els *els, const void *data,
fc_id_ntoa ( &els->peer_port_id ) );
/* Get peer */
peer = fc_peer_get_wwn ( &plogi->node_wwn );
peer = fc_peer_get_wwn ( &plogi->port_wwn );
if ( ! peer ) {
DBGC ( els, FCELS_FMT " could not create peer\n",
FCELS_ARGS ( els ) );