Lines Matching refs:con_state

63         if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid))  in bnepu_find_bcb_by_cid()
90 if (p_bcb->con_state != BNEP_STATE_IDLE) in bnepu_find_bcb_by_bd_addr()
119 if (p_bcb->con_state == BNEP_STATE_IDLE) in bnepu_allocate_bcb()
152 p_bcb->con_state = BNEP_STATE_IDLE; in bnepu_release_bcb()
591 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP && in bnep_process_setup_conn_req()
592 p_bcb->con_state != BNEP_STATE_SEC_CHECKING && in bnep_process_setup_conn_req()
593 p_bcb->con_state != BNEP_STATE_CONNECTED) in bnep_process_setup_conn_req()
595 BNEP_TRACE_ERROR ("BNEP - setup request in bad state %d", p_bcb->con_state); in bnep_process_setup_conn_req()
608 if (p_bcb->con_state != BNEP_STATE_CONNECTED && in bnep_process_setup_conn_req()
612 BNEP_TRACE_ERROR ("BNEP - setup request when we are originator", p_bcb->con_state); in bnep_process_setup_conn_req()
617 if (p_bcb->con_state == BNEP_STATE_CONNECTED) in bnep_process_setup_conn_req()
632 if (p_bcb->con_state == BNEP_STATE_CONNECTED && in bnep_process_setup_conn_req()
659 p_bcb->con_state = BNEP_STATE_SEC_CHECKING; in bnep_process_setup_conn_req()
694 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP) in bnep_process_setup_conn_responce()
697 BNEP_TRACE_ERROR ("BNEP - setup response in bad state %d", p_bcb->con_state); in bnep_process_setup_conn_responce()
704 BNEP_TRACE_ERROR ("BNEP - setup response when we are not originator", p_bcb->con_state); in bnep_process_setup_conn_responce()
738 p_bcb->con_state = BNEP_STATE_CONNECTED; in bnep_process_setup_conn_responce()
908 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in bnepu_process_peer_filter_set()
986 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in bnepu_process_peer_filter_rsp()
989 BNEP_TRACE_ERROR ("BNEP - filter response in bad state %d", p_bcb->con_state); in bnepu_process_peer_filter_rsp()
1032 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in bnepu_process_multicast_filter_rsp()
1035 BNEP_TRACE_ERROR ("BNEP - multicast filter response in bad state %d", p_bcb->con_state); in bnepu_process_multicast_filter_rsp()
1078 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) && in bnepu_process_peer_multicast_filter_set()
1208 if (p_bcb->con_state != BNEP_STATE_SEC_CHECKING) in bnep_sec_check_complete()
1210 …NEP_TRACE_ERROR ("BNEP Connection in wrong state %d when security is completed", p_bcb->con_state); in bnep_sec_check_complete()
1225 p_bcb->con_state = BNEP_STATE_CONNECTED; in bnep_sec_check_complete()
1242 p_bcb->con_state = BNEP_STATE_CONN_SETUP; in bnep_sec_check_complete()
1256 p_bcb->con_state = BNEP_STATE_CONNECTED; in bnep_sec_check_complete()
1271 p_bcb->con_state = BNEP_STATE_CONN_SETUP; in bnep_sec_check_complete()