2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-02-19 20:14:34 +00:00

[fc] Ignore fabric-assigned port ID for fabricless implicit logouts

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2010-09-21 01:05:33 +01:00
parent 654da534ad
commit a8e39a9ca7

View File

@ -907,8 +907,9 @@ int fc_port_login ( struct fc_port *port, struct fc_port_id *port_id,
sizeof ( port->link_node_wwn ) ) != 0 ) ||
( memcmp ( &port->link_port_wwn, link_port_wwn,
sizeof ( port->link_port_wwn ) ) != 0 ) ||
( memcmp ( &port->port_id, port_id,
sizeof ( port->port_id ) ) != 0 ) ) ) {
( has_fabric &&
( memcmp ( &port->port_id, port_id,
sizeof ( port->port_id ) ) != 0 ) ) ) ) {
fc_port_logout ( port, 0 );
}