Changeset 429

Show
Ignore:
Timestamp:
04/11/08 16:41:53 (4 months ago)
Author:
bellmich
Message:

added support for buggy mobiles
(no reply on disconnect command)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libsyncml/transports/obex_client.c

    r428 r429  
    903903                } 
    904904        } 
    905         /* Note: the disconnect is signaled by OBEX_EV_LINKERR or OBEX_CMD_DISCONNECT */ 
     905        /* Note: The disconnect is signaled by OBEX_EV_LINKERR or OBEX_CMD_DISCONNECT. 
     906         *       We only signal disconnect here if a phone does not answer. */ 
     907        if (!env->isDisconnected) 
     908        { 
     909                env->busy = FALSE; 
     910                env->isDisconnected = TRUE; 
     911                smlTransportReceiveEvent(env->tsp, NULL, SML_TRANSPORT_EVENT_DISCONNECT_DONE, NULL, NULL); 
     912        } 
    906913         
    907914        smlTrace(TRACE_EXIT, "%s", __func__);