Signed off by: Alexander Naslednikov (xalex at mellanox.co.il)
Index: B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp
===================================================================
--- B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp     
(revision 3092)
+++ B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp  
(working copy)
@@ -2930,7 +2930,7 @@
 /*          Tear down the connection and start over again.                This 
is only called when there is a problem.
 For example, if a send, query info, or set info had a time out.  
MiniportCheckForHang will
 be called first.
-IRQL = DISPATCH_LEVEL
+IRQL <= DISPATCH_LEVEL

 @param p_addr_resetPointer to BOOLLEAN that is set to TRUE if the NDIS
 library should call MiniportSetInformation to restore addressing information 
to the current values.
@@ -2951,7 +2951,8 @@
                p_adapter = (ipoib_adapter_t*)adapter_context;
                ++g_reset;

-              switch( ipoib_reset_adapter( p_adapter ) )
+             ib_api_status_t status = ipoib_reset_adapter( p_adapter );
+             switch( status )
                {
                case IB_NOT_DONE:
                                IPOIB_EXIT( IPOIB_DBG_INIT );
Alexander (XaleX) Naslednikov
SW Networking Team
Mellanox Technologies

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to