[IPoIB] Fix brackets for calls to __endpt_mgr_reset_all. Fix indentation.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 6 Sep 2006 19:59:04 +0000 (19:59 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 6 Sep 2006 19:59:04 +0000 (19:59 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@484 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.c

index 32097c0..58ba7ce 100644 (file)
@@ -4052,8 +4052,8 @@ __endpt_mgr_reset_all(
                        &p_port->p_local_endpt->mac_item );\r
                cl_fmap_remove_item( &p_port->endpt_mgr.gid_endpts,\r
                        &p_port->p_local_endpt->gid_item );\r
-                       cl_qmap_remove_item( &p_port->endpt_mgr.lid_endpts,\r
-                               &p_port->p_local_endpt->lid_item );\r
+               cl_qmap_remove_item( &p_port->endpt_mgr.lid_endpts,\r
+                       &p_port->p_local_endpt->lid_item );\r
                \r
                cl_qlist_insert_head(\r
                        &mc_list, &p_port->p_local_endpt->mac_item.pool_item.list_item );\r
@@ -4775,8 +4775,10 @@ done:
        if( status != IB_SUCCESS )\r
        {\r
                if( status != IB_CANCELED )\r
+               {\r
                        ipoib_set_inactive( p_port->p_adapter );\r
                        __endpt_mgr_reset_all( p_port );\r
+               }\r
                KeSetEvent( &p_port->sa_event, EVENT_INCREMENT, FALSE );\r
        }\r
 \r
@@ -4897,8 +4899,10 @@ done:
        if( status != IB_SUCCESS )\r
        {\r
                if( status != IB_CANCELED )\r
+               {\r
                        ipoib_set_inactive( p_port->p_adapter );\r
                        __endpt_mgr_reset_all( p_port );\r
+               }\r
                KeSetEvent( &p_port->sa_event, EVENT_INCREMENT, FALSE );\r
        }\r
 \r