Lines Matching full:con_state
61 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid))
88 if (p_bcb->con_state != BNEP_STATE_IDLE)
117 if (p_bcb->con_state == BNEP_STATE_IDLE)
150 p_bcb->con_state = BNEP_STATE_IDLE;
588 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP &&
589 p_bcb->con_state != BNEP_STATE_SEC_CHECKING &&
590 p_bcb->con_state != BNEP_STATE_CONNECTED)
592 BNEP_TRACE_ERROR1 ("BNEP - setup request in bad state %d", p_bcb->con_state);
605 if (p_bcb->con_state != BNEP_STATE_CONNECTED &&
609 BNEP_TRACE_ERROR1 ("BNEP - setup request when we are originator", p_bcb->con_state);
614 if (p_bcb->con_state == BNEP_STATE_CONNECTED)
629 if (p_bcb->con_state == BNEP_STATE_CONNECTED &&
658 p_bcb->con_state = BNEP_STATE_SEC_CHECKING;
693 if (p_bcb->con_state != BNEP_STATE_CONN_SETUP)
696 BNEP_TRACE_ERROR1 ("BNEP - setup response in bad state %d", p_bcb->con_state);
703 BNEP_TRACE_ERROR1 ("BNEP - setup response when we are not originator", p_bcb->con_state);
737 p_bcb->con_state = BNEP_STATE_CONNECTED;
908 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
990 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
993 BNEP_TRACE_ERROR1 ("BNEP - filter response in bad state %d", p_bcb->con_state);
1042 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
1045 BNEP_TRACE_ERROR1 ("BNEP - multicast filter response in bad state %d", p_bcb->con_state);
1094 if ((p_bcb->con_state != BNEP_STATE_CONNECTED) &&
1224 if (p_bcb->con_state != BNEP_STATE_SEC_CHECKING)
1226 BNEP_TRACE_ERROR1 ("BNEP Connection in wrong state %d when security is completed", p_bcb->con_state);
1241 p_bcb->con_state = BNEP_STATE_CONNECTED;
1258 p_bcb->con_state = BNEP_STATE_CONN_SETUP;
1272 p_bcb->con_state = BNEP_STATE_CONNECTED;
1287 p_bcb->con_state = BNEP_STATE_CONN_SETUP;
1452 i, p_bcb->con_state, p_bcb->con_flags, p_bcb->l2cap_cid,