Lines Matching refs:BT_CONNECTED
272 if (hcon->state == BT_CONNECTED) { in sco_connect()
274 sk->sk_state = BT_CONNECTED; in sco_connect()
319 if (sk->sk_state != BT_CONNECTED) in sco_recv_frame()
421 case BT_CONNECTED: in __sco_sock_close()
600 err = bt_sock_wait_state(sk, BT_CONNECTED, in sco_sock_connect()
748 if (sk->sk_state == BT_CONNECTED) in sco_sock_sendmsg()
923 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
941 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
1010 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
1030 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
1112 sk->sk_state = BT_CONNECTED; in sco_conn_ready()
1150 sk->sk_state = BT_CONNECTED; in sco_conn_ready()