• Sjur Braendeland's avatar
    caif: Disconnect without waiting for response · 8d545c8f
    Sjur Braendeland authored
    Changes:
    o Function cfcnfg_disconn_adapt_layer is changed to do asynchronous
      disconnect, not waiting for any response from the modem. Due to this
      the function cfcnfg_linkdestroy_rsp does nothing anymore.
    o Because disconnect may take down a connection before a connect response
      is received the function cfcnfg_linkup_rsp is checking if the client is
      still waiting for the response, if not a disconnect request is sent to
      the modem.
    o cfctrl is no longer keeping track of pending disconnect requests.
    o Added function cfctrl_cancel_req, which is used for deleting a pending
      connect request if disconnect is done before connect response is received.
    o Removed unused function cfctrl_insert_req2
    o Added better handling of connect reject from modem.
    Signed-off-by: default avatarSjur Braendeland <sjur.brandeland@stericsson.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8d545c8f
cfctrl.c 17.2 KB