[SRP] revert the changes, occasionally made in 2605
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Dec 2009 13:08:20 +0000 (13:08 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Dec 2009 13:08:20 +0000 (13:08 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2606 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/srp/kernel/srp_connection.c

index 6270752..5b7780f 100644 (file)
@@ -727,7 +727,7 @@ srp_init_connection(
        switch( p_profile->io_class )\r
        {\r
        case SRP_IO_CLASS_R10:\r
-               p_connection->init_port_id.field1 = p_path_rec->sgid.unicast.interface_id;\r
+               p_connection->init_port_id.field1 = ca_guid;\r
                p_connection->init_port_id.field2 = ext_id;\r
                p_connection->targ_port_id.field1 = p_profile->ioc_guid;\r
                p_connection->targ_port_id.field2 = ext_id;\r
@@ -735,7 +735,7 @@ srp_init_connection(
 \r
        case SRP_IO_CLASS:\r
                p_connection->init_port_id.field1 = ext_id;\r
-               p_connection->init_port_id.field2 = p_path_rec->sgid.unicast.interface_id;\r
+               p_connection->init_port_id.field2 = ca_guid;\r
                p_connection->targ_port_id.field1 = ext_id;\r
                p_connection->targ_port_id.field2 = p_profile->ioc_guid;\r
                break;\r