Lines Matching refs:conf_state
427 return !(l2cap_pi(sk)->conf_state & L2CAP_CONF_CONNECT_PEND);
444 l2cap_pi(sk)->conf_state |= L2CAP_CONF_CONNECT_PEND;
537 && l2cap_pi(sk)->conf_state &
551 l2cap_pi(sk)->conf_state |= L2CAP_CONF_CONNECT_PEND;
582 if (l2cap_pi(sk)->conf_state & L2CAP_CONF_REQ_SENT ||
588 l2cap_pi(sk)->conf_state |= L2CAP_CONF_REQ_SENT;
895 pi->conf_state = l2cap_pi(parent)->conf_state;
908 pi->conf_state |= L2CAP_CONF_STATE2_DEVICE;
1921 if (l2cap_pi(sk)->conf_state & L2CAP_CONF_REQ_SENT) {
1926 l2cap_pi(sk)->conf_state |= L2CAP_CONF_REQ_SENT;
1980 l2cap_pi(sk)->conf_state &= ~L2CAP_CONF_STATE2_DEVICE;
2283 l2cap_pi(sk)->conf_state = 0;
2510 if (pi->conf_state & L2CAP_CONF_STATE2_DEVICE)
2557 pi->conf_state & L2CAP_CONF_NO_FCS_RECV) {
2580 pi->conf_state & L2CAP_CONF_NO_FCS_RECV) {
2636 pi->conf_state |= L2CAP_CONF_NO_FCS_RECV;
2656 if (!(pi->conf_state & L2CAP_CONF_STATE2_DEVICE)) {
2689 pi->conf_state |= L2CAP_CONF_MTU_DONE;
2696 pi->conf_state |= L2CAP_CONF_MODE_DONE;
2713 pi->conf_state |= L2CAP_CONF_MODE_DONE;
2726 pi->conf_state |= L2CAP_CONF_MODE_DONE;
2741 pi->conf_state |= L2CAP_CONF_OUTPUT_DONE;
2784 if ((pi->conf_state & L2CAP_CONF_STATE2_DEVICE) &&
3002 if (sk && !(l2cap_pi(sk)->conf_state & L2CAP_CONF_REQ_SENT) &&
3005 l2cap_pi(sk)->conf_state |= L2CAP_CONF_REQ_SENT;
3043 l2cap_pi(sk)->conf_state &= ~L2CAP_CONF_CONNECT_PEND;
3045 if (l2cap_pi(sk)->conf_state & L2CAP_CONF_REQ_SENT)
3048 l2cap_pi(sk)->conf_state |= L2CAP_CONF_REQ_SENT;
3056 l2cap_pi(sk)->conf_state |= L2CAP_CONF_CONNECT_PEND;
3075 else if (!(pi->conf_state & L2CAP_CONF_NO_FCS_RECV))
3133 if (!(l2cap_pi(sk)->conf_state & L2CAP_CONF_OUTPUT_DONE))
3136 if (l2cap_pi(sk)->conf_state & L2CAP_CONF_INPUT_DONE) {
3151 if (!(l2cap_pi(sk)->conf_state & L2CAP_CONF_REQ_SENT)) {
3222 l2cap_pi(sk)->conf_state |= L2CAP_CONF_INPUT_DONE;
3224 if (l2cap_pi(sk)->conf_state & L2CAP_CONF_OUTPUT_DONE) {
4577 if (l2cap_pi(sk)->conf_state & L2CAP_CONF_CONNECT_PEND) {
4596 l2cap_pi(sk)->conf_state |= L2CAP_CONF_CONNECT_PEND;