Lines Matching refs:BT_CONNECTED
291 if (hcon->state == BT_CONNECTED) { in sco_connect()
293 sk->sk_state = BT_CONNECTED; in sco_connect()
336 if (sk->sk_state != BT_CONNECTED) in sco_recv_frame()
438 case BT_CONNECTED: in __sco_sock_close()
597 err = bt_sock_wait_state(sk, BT_CONNECTED, in sco_sock_connect()
739 if (sk->sk_state == BT_CONNECTED) in sco_sock_sendmsg()
980 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
998 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
1072 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
1091 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
1270 sk->sk_state = BT_CONNECTED; in sco_conn_ready()
1308 sk->sk_state = BT_CONNECTED; in sco_conn_ready()