[IPoIB] Handle SM reregister event before port is active.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sat, 22 Apr 2006 17:44:13 +0000 (17:44 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sat, 22 Apr 2006 17:44:13 +0000 (17:44 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@319 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_adapter.c

index 67ee872..cd14196 100644 (file)
@@ -659,6 +659,7 @@ __ipoib_pnp_cb(
                switch( old_state )\r
                {\r
                case IB_PNP_PORT_ACTIVE:\r
+               case IB_PNP_PORT_INIT:\r
                        NdisMIndicateStatus( p_adapter->h_adapter,\r
                                NDIS_STATUS_MEDIA_DISCONNECT, NULL, 0 );\r
                        NdisMIndicateStatusComplete( p_adapter->h_adapter );\r