Lines Matching refs:link_state
107 p_lcb->link_state = LST_CONNECTING;
115 if ((p_lcb->link_state == LST_CONNECTING) || (p_lcb->link_state == LST_CONNECT_HOLDING))
126 p_lcb->link_state = LST_CONNECTING;
129 else if (p_lcb->link_state == LST_DISCONNECTING)
137 p_lcb->link_state);
179 if (p_lcb->link_state != LST_CONNECTING)
181 L2CAP_TRACE_ERROR2 ("L2CAP got conn_comp in bad state: %d status: 0x%d", p_lcb->link_state, status);
195 p_lcb->link_state = LST_CONNECTED;
242 p_lcb->link_state = LST_CONNECT_HOLDING;
248 p_lcb->link_state = LST_DISCONNECTING;
270 p_lcb->link_state = LST_CONNECTING;
382 p_lcb->link_state = LST_DISCONNECTING;
503 p_lcb->link_state
506 if ((p_lcb->link_state == LST_CONNECTING_WAIT_SWITCH) ||
507 (p_lcb->link_state == LST_CONNECTING) ||
508 (p_lcb->link_state == LST_CONNECT_HOLDING) ||
509 (p_lcb->link_state == LST_DISCONNECTING))
524 if (p_lcb->link_state == LST_CONNECTING &&
535 if (p_lcb->link_state == LST_CONNECTED)
573 p_lcb->link_state = LST_DISCONNECTING;
579 p_lcb->link_state = LST_DISCONNECTING;
590 p_lcb->link_state = LST_DISCONNECTING;
642 if ((p_lcb->link_state != LST_DISCONNECTED) &&
643 (p_lcb->link_state != LST_DISCONNECTING))
779 if ( (p_lcb->link_state == LST_CONNECTED)
991 if ((p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTING_WAIT_SWITCH))
1144 || (p_lcb->link_state != LST_CONNECTED)
1182 || (p_lcb->link_state != LST_CONNECTED)
1692 if (p_lcb->link_state == LST_CONNECTED)