[openib-general] [PATCH] uAT ib_at_callback_get_timed
    Arlin Davis 
    arlin.r.davis at intel.com
       
    Thu Jul 14 16:29:40 PDT 2005
    
    
  
Hal,
I ran into a problem with ib_at_callback_get_timed(). Here is a fix.
Thanks
-arlin
Signed-off-by: Arlin Davis <ardavis at ichips.intel.com>
Index: at.c
===================================================================
--- at.c        (revision 2844)
+++ at.c        (working copy)
@@ -314,5 +314,8 @@
        if (!result)
                return -ETIMEDOUT;
+       if (result < 0)
+               return result;
+
        return ib_at_callback_get();
 }
    
    
More information about the general
mailing list