Lines Matching refs:conn_state
113 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED;
136 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING;
147 p_hcon->conn_state = HID_CONN_STATE_UNUSED;
167 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY )
171 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR;
184 p_dev->conn.conn_state = HID_CONN_STATE_UNUSED;
232 if (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR)
234 HIDH_TRACE_WARNING1 ("HID - Rcvd INTR L2CAP conn ind, wrong state: %d", p_hcon->conn_state);
242 p_hcon->conn_state = HID_CONN_STATE_UNUSED;
244 if (p_hcon->conn_state != HID_CONN_STATE_UNUSED)
246 HIDH_TRACE_WARNING1 ("HID - Rcvd CTL L2CAP conn ind, wrong state: %d", p_hcon->conn_state);
265 p_hcon->conn_state = HID_CONN_STATE_SECURITY;
278 p_hcon->conn_state = HID_CONN_STATE_CONFIG;
326 if( res == BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY )
343 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_INTR;
347 if( res != BTM_SUCCESS && p_dev->conn.conn_state == HID_CONN_STATE_SECURITY )
394 || ((l2cap_cid == p_hcon->ctrl_cid) && (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_CTRL))
395 || ((l2cap_cid == p_hcon->intr_cid) && (p_hcon->conn_state != HID_CONN_STATE_CONNECTING_INTR)))
429 p_hcon->conn_state = HID_CONN_STATE_SECURITY;
439 p_hcon->conn_state = HID_CONN_STATE_CONFIG;
500 && (p_hcon->conn_state == HID_CONN_STATE_CONFIG))
502 p_hcon->conn_state = HID_CONN_STATE_CONNECTED;
554 && (p_hcon->conn_state == HID_CONN_STATE_CONFIG))
556 p_hcon->conn_state = HID_CONN_STATE_CONNECTED;
596 p_hcon->conn_state = HID_CONN_STATE_DISCONNECTING;
606 p_hcon->conn_state = HID_CONN_STATE_UNUSED;
679 p_hcon->conn_state = HID_CONN_STATE_UNUSED;
957 if( p_dev->conn.conn_state != HID_CONN_STATE_UNUSED )
983 p_dev->conn.conn_state = HID_CONN_STATE_CONNECTING_CTRL;
1005 if ((hh_cb.devices[xx].in_use) && (hh_cb.devices[xx].conn.conn_state != HID_CONN_STATE_UNUSED)
1032 p_dev->conn.conn_state = HID_CONN_STATE_UNUSED;