Lines Matching refs:lcid
124 UINT16 lcid = L2CA_ConnectReq(BT_PSM_RFCOMM, p_mcb->bd_addr); in rfc_mx_sm_state_idle() local
125 if (lcid == 0) { in rfc_mx_sm_state_idle()
126 rfc_save_lcid_mcb(NULL, p_mcb->lcid); in rfc_mx_sm_state_idle()
127 p_mcb->lcid = 0; in rfc_mx_sm_state_idle()
131 p_mcb->lcid = lcid; in rfc_mx_sm_state_idle()
133 rfc_save_lcid_mcb (p_mcb, p_mcb->lcid); in rfc_mx_sm_state_idle()
148 L2CA_ConnectRsp (p_mcb->bd_addr, *((UINT8 *)p_data), p_mcb->lcid, L2CAP_CONN_OK, 0); in rfc_mx_sm_state_idle()
218 L2CA_DisconnectReq (p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
228 rfc_save_lcid_mcb (NULL, p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
229 p_mcb->lcid = p_mcb->pending_lcid; in rfc_mx_sm_state_wait_conn_cnf()
230 rfc_save_lcid_mcb (p_mcb, p_mcb->lcid); in rfc_mx_sm_state_wait_conn_cnf()
294 L2CA_DisconnectReq (p_mcb->lcid); in rfc_mx_sm_state_configure()
358 L2CA_DisconnectReq (p_mcb->lcid); in rfc_mx_sm_sabme_wait_ua()
425 L2CA_DisconnectReq (p_mcb->lcid); in rfc_mx_sm_state_wait_sabme()
470 L2CA_DisconnectReq (p_mcb->lcid); in rfc_mx_sm_state_connected()
500 L2CA_DisconnectReq (p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
505 UINT16 lcid = L2CA_ConnectReq(BT_PSM_RFCOMM, p_mcb->bd_addr); in rfc_mx_sm_state_disc_wait_ua() local
506 if (lcid == 0) { in rfc_mx_sm_state_disc_wait_ua()
507 rfc_save_lcid_mcb(NULL, p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
508 p_mcb->lcid = 0; in rfc_mx_sm_state_disc_wait_ua()
512 p_mcb->lcid = lcid; in rfc_mx_sm_state_disc_wait_ua()
514 rfc_save_lcid_mcb (p_mcb, p_mcb->lcid); in rfc_mx_sm_state_disc_wait_ua()
588 L2CA_ConfigReq (p_mcb->lcid, &cfg); in rfc_mx_send_config_req()
611 L2CA_DisconnectReq (p_mcb->lcid); in rfc_mx_conf_cnf()
660 L2CA_ConfigRsp (p_mcb->lcid, p_cfg); in rfc_mx_conf_ind()