Lines Matching refs:BT_CONNECTED
278 err = bt_sock_wait_state(sk, BT_CONNECTED, in l2cap_sock_connect()
410 if (peer && sk->sk_state != BT_CONNECTED && in l2cap_sock_getname()
544 if (sk->sk_state != BT_CONNECTED && in l2cap_sock_getsockopt_old()
606 if (sk->sk_state == BT_CONNECTED) in l2cap_sock_getsockopt()
663 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt()
683 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt()
760 if (sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt_old()
963 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt()
1060 if (sk->sk_state == BT_CONNECTED && in l2cap_sock_setsockopt()
1085 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt()
1096 sk->sk_state == BT_CONNECTED) in l2cap_sock_setsockopt()
1161 if (sk->sk_state != BT_CONNECTED) in l2cap_sock_sendmsg()
1189 sk->sk_state = BT_CONNECTED; in l2cap_sock_recvmsg()
1190 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg()
1193 sk->sk_state = BT_CONNECTED; in l2cap_sock_recvmsg()
1194 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg()
1297 chan->state == BT_CONNECTED); in __l2cap_wait_ack()
1341 chan->state == BT_CONNECTED) { in l2cap_sock_shutdown()
1644 sk->sk_state = BT_CONNECTED; in l2cap_sock_ready_cb()
1671 sk->sk_state = BT_CONNECTED; in l2cap_sock_resume_cb()
1672 chan->state = BT_CONNECTED; in l2cap_sock_resume_cb()