Lines Matching refs:link_state
101 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
111 if ((p_lcb->link_state == LST_CONNECTING) || in l2c_link_hci_conn_req()
112 (p_lcb->link_state == LST_CONNECT_HOLDING)) { in l2c_link_hci_conn_req()
122 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
124 } else if (p_lcb->link_state == LST_DISCONNECTING) { in l2c_link_hci_conn_req()
130 p_lcb->link_state); in l2c_link_hci_conn_req()
171 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_comp()
174 if ((p_lcb->link_state == LST_CONNECTED) && in l2c_link_hci_conn_comp()
179 } else if (p_lcb->link_state != LST_CONNECTING) { in l2c_link_hci_conn_comp()
181 p_lcb->link_state, status); in l2c_link_hci_conn_comp()
193 p_lcb->link_state = LST_CONNECTED; in l2c_link_hci_conn_comp()
240 p_lcb->link_state = LST_CONNECT_HOLDING; in l2c_link_hci_conn_comp()
244 p_lcb->link_state = LST_DISCONNECTING; in l2c_link_hci_conn_comp()
265 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_comp()
375 p_lcb->link_state = LST_DISCONNECTING; in l2c_link_hci_disc_comp()
440 p_lcb->in_use, p_lcb->link_state, p_lcb->handle, in l2c_link_hci_disc_comp()
521 p_lcb->link_state, p_lcb->ccb_queue.p_first_ccb, p_lcb->is_bonding); in l2c_link_timeout()
525 if ((p_lcb->link_state == LST_CONNECTING_WAIT_SWITCH) || in l2c_link_timeout()
526 (p_lcb->link_state == LST_CONNECTING) || in l2c_link_timeout()
527 (p_lcb->link_state == LST_CONNECT_HOLDING) || in l2c_link_timeout()
528 (p_lcb->link_state == LST_DISCONNECTING)) { in l2c_link_timeout()
546 if (p_lcb->link_state == LST_CONNECTED) { in l2c_link_timeout()
581 p_lcb->link_state = LST_DISCONNECTING; in l2c_link_timeout()
587 p_lcb->link_state = LST_DISCONNECTING; in l2c_link_timeout()
595 p_lcb->link_state = LST_DISCONNECTING; in l2c_link_timeout()
645 if ((p_lcb->link_state != LST_DISCONNECTED) && in l2c_info_resp_timer_timeout()
646 (p_lcb->link_state != LST_DISCONNECTING)) { in l2c_info_resp_timer_timeout()
774 if ((p_lcb->link_state == LST_CONNECTED) && in l2c_link_adjust_allocation()
889 if ((p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTING_WAIT_SWITCH)) { in l2c_link_role_changed()
1026 (p_lcb->link_state != LST_CONNECTED) || in l2c_link_check_send_pkts()
1063 (p_lcb->link_state != LST_CONNECTED) || in l2c_link_check_send_pkts()
1353 if (p_lcb->link_state == LST_CONNECTED) { in l2c_link_segments_xmitted()