Lines Matching refs:con_state
62 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid))
89 if (p_bcb->con_state != BNEP_STATE_IDLE)
118 if (p_bcb->con_state == BNEP_STATE_IDLE)
151 p_bcb->con_state = BNEP_STATE_IDLE;
589 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP &&
590 p_bcb->con_state != BNEP_STATE_SEC_CHECKING &&
591 p_bcb->con_state != BNEP_STATE_CONNECTED)
593 BNEP_TRACE_ERROR ("BNEP - setup request in bad state %d", p_bcb->con_state);
606 if (p_bcb->con_state != BNEP_STATE_CONNECTED &&
610 BNEP_TRACE_ERROR ("BNEP - setup request when we are originator", p_bcb->con_state);
615 if (p_bcb->con_state == BNEP_STATE_CONNECTED)
630 if (p_bcb->con_state == BNEP_STATE_CONNECTED &&
659 p_bcb->con_state = BNEP_STATE_SEC_CHECKING;
694 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP)
697 BNEP_TRACE_ERROR ("BNEP - setup response in bad state %d", p_bcb->con_state);
704 BNEP_TRACE_ERROR ("BNEP - setup response when we are not originator", p_bcb->con_state);
738 p_bcb->con_state = BNEP_STATE_CONNECTED;
909 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
991 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
994 BNEP_TRACE_ERROR ("BNEP - filter response in bad state %d", p_bcb->con_state);
1043 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
1046 con_state);
1095 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
1228 if (p_bcb->con_state != BNEP_STATE_SEC_CHECKING)
1230 BNEP_TRACE_ERROR ("BNEP Connection in wrong state %d when security is completed", p_bcb->con_state);
1245 p_bcb->con_state = BNEP_STATE_CONNECTED;
1262 p_bcb->con_state = BNEP_STATE_CONN_SETUP;
1276 p_bcb->con_state = BNEP_STATE_CONNECTED;
1291 p_bcb->con_state = BNEP_STATE_CONN_SETUP;
1456 i, p_bcb->con_state, p_bcb->con_flags, p_bcb->l2cap_cid,