Searched refs:BT_CONNECTED (Results 1 – 20 of 20) sorted by relevance
218 if (hcon->state == BT_CONNECTED) { in sco_connect()220 sk->sk_state = BT_CONNECTED; in sco_connect()269 if (sk->sk_state != BT_CONNECTED) in sco_recv_frame()370 case BT_CONNECTED: in __sco_sock_close()518 err = bt_sock_wait_state(sk, BT_CONNECTED, in sco_sock_connect()640 if (sk->sk_state == BT_CONNECTED) in sco_sock_sendmsg()684 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt_old()700 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt_old()844 sk->sk_state = BT_CONNECTED; in sco_conn_ready()869 sk->sk_state = BT_CONNECTED; in sco_conn_ready()
51 if (sk->sk_state == BT_CONNECTED || sk->sk_state == BT_CONFIG) in l2cap_sock_timeout()205 case BT_CONNECTED: in l2cap_sock_connect()237 err = bt_sock_wait_state(sk, BT_CONNECTED, in l2cap_sock_connect()442 if (sk->sk_state != BT_CONNECTED && in l2cap_sock_getsockopt_old()541 if (sk->sk_state == BT_CONNECTED) { in l2cap_sock_setsockopt_old()721 if (sk->sk_state != BT_CONNECTED) { in l2cap_sock_sendmsg()897 case BT_CONNECTED: in __l2cap_sock_close()
215 if (sk->sk_state == BT_CONNECTED || !newsock || in bt_accept_dequeue()391 if (sk->sk_state == BT_CONNECTED || in bt_accept_poll()
353 if (sk->sk_state != BT_CONNECTED) in l2cap_send_sframe()659 sk->sk_state = BT_CONNECTED; in l2cap_le_conn_ready()685 sk->sk_state = BT_CONNECTED; in l2cap_conn_ready()692 sk->sk_state = BT_CONNECTED; in l2cap_conn_ready()884 if (hcon->state == BT_CONNECTED) { in l2cap_do_connect()889 sk->sk_state = BT_CONNECTED; in l2cap_do_connect()1081 if (sk->sk_state != BT_CONNECTED) in l2cap_ertm_send()1377 sk->sk_state = BT_CONNECTED; in l2cap_chan_ready()2243 sk->sk_state = BT_CONNECTED; in l2cap_config_req()2332 sk->sk_state = BT_CONNECTED; in l2cap_config_rsp()[all …]
1263 conn->state = BT_CONNECTED; in hci_conn_complete_evt()1445 conn->state = BT_CONNECTED; in hci_auth_complete_evt()1519 conn->state = BT_CONNECTED; in hci_encrypt_change_evt()1589 conn->state = BT_CONNECTED; in hci_remote_features_evt()1978 if (conn && conn->state == BT_CONNECTED) { in hci_pin_code_request_evt()2210 conn->state = BT_CONNECTED; in hci_remote_ext_features_evt()2243 conn->state = BT_CONNECTED; in hci_sync_conn_complete_evt()2483 conn->state = BT_CONNECTED; in hci_le_conn_complete_evt()
251 case BT_CONNECTED: in hci_conn_timeout()479 if (acl->state == BT_CONNECTED && in hci_connect()
1194 if (conn->state == BT_CONNECTED && in pair_device()
1695 if (c->state != BT_CONNECTED && c->state != BT_CONFIG) in hci_low_sent()
208 application->state = BT_CONNECTED; in cmtp_recv_interopmsg()245 session->state = BT_CONNECTED; in cmtp_recv_interopmsg()443 if (application->state == BT_CONNECTED) in cmtp_register_appl()499 if ((!application) || (application->state != BT_CONNECTED)) { in cmtp_send_message()
295 if (sk->sk_state != BT_CONNECTED) in cmtp_session()339 if (s && s->state == BT_CONNECTED) { in cmtp_add_connection()
85 if (nsock->sk->sk_state != BT_CONNECTED) { in cmtp_sock_ioctl()
88 if (csock->sk->sk_state != BT_CONNECTED || isock->sk->sk_state != BT_CONNECTED) { in hidp_sock_ioctl()
724 if (ctrl_sk->sk_state != BT_CONNECTED || intr_sk->sk_state != BT_CONNECTED) in hidp_session()985 if (s && s->state == BT_CONNECTED) { in hidp_add_connection()999 session->state = BT_CONNECTED; in hidp_add_connection()
433 if (s->state == BT_CONNECTED) { in __rfcomm_dlc_open()476 case BT_CONNECTED: in __rfcomm_dlc_close()527 if (d->state != BT_CONNECTED) in rfcomm_dlc_send()637 if (state == BT_CONNECTED) in rfcomm_session_del()1136 d->state = BT_CONNECTED; in rfcomm_recv_ua()1158 s->state = BT_CONNECTED; in rfcomm_recv_ua()1252 d->state = BT_CONNECTED; in rfcomm_dlc_accept()1292 s->state = BT_CONNECTED; in rfcomm_recv_sabm()1645 if (skb->len && d->state == BT_CONNECTED) { in rfcomm_recv_data()1839 if ((d->state == BT_CONNECTED || d->state == BT_DISCONN) && in rfcomm_process_dlcs()[all …]
108 if (d->state == BT_CONNECTED) in rfcomm_sk_state_change()236 case BT_CONNECTED: in __rfcomm_sock_close()422 err = bt_sock_wait_state(sk, BT_CONNECTED, in rfcomm_sock_connect()782 if (sk->sk_state != BT_CONNECTED && in rfcomm_sock_getsockopt_old()
398 if (sk->sk_state != BT_CONNECTED) in rfcomm_create_dev()722 if (dlc->state == BT_CONNECTED) in rfcomm_tty_open()
487 if (sk->sk_state != BT_CONNECTED) in bnep_session()566 if (ss && ss->state == BT_CONNECTED) { in bnep_add_connection()582 s->state = BT_CONNECTED; in bnep_add_connection()
87 if (nsock->sk->sk_state != BT_CONNECTED) { in bnep_sock_ioctl()
78 BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ enumerator
433 if (conn->state == BT_CONNECTED) { in hci_conn_put()