Lines Matching refs:BT_CONNECTED
279 err = bt_sock_wait_state(sk, BT_CONNECTED, in l2cap_sock_connect()
411 if (peer && sk->sk_state != BT_CONNECTED && in l2cap_sock_getname()
545 if (sk->sk_state != BT_CONNECTED && in l2cap_sock_getsockopt_old()
607 if (sk->sk_state == BT_CONNECTED) in l2cap_sock_getsockopt()
664 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt()
684 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_getsockopt()
761 if (sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt_old()
964 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt()
1061 if (sk->sk_state == BT_CONNECTED && in l2cap_sock_setsockopt()
1086 sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt()
1097 sk->sk_state == BT_CONNECTED) in l2cap_sock_setsockopt()
1162 if (sk->sk_state != BT_CONNECTED) in l2cap_sock_sendmsg()
1190 sk->sk_state = BT_CONNECTED; in l2cap_sock_recvmsg()
1191 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg()
1194 sk->sk_state = BT_CONNECTED; in l2cap_sock_recvmsg()
1195 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg()
1298 chan->state == BT_CONNECTED); in __l2cap_wait_ack()
1342 chan->state == BT_CONNECTED) { in l2cap_sock_shutdown()
1645 sk->sk_state = BT_CONNECTED; in l2cap_sock_ready_cb()
1672 sk->sk_state = BT_CONNECTED; in l2cap_sock_resume_cb()
1673 chan->state = BT_CONNECTED; in l2cap_sock_resume_cb()