BT_CONNECTED      170 include/net/bluetooth/bluetooth.h 	case BT_CONNECTED:
BT_CONNECTED      993 include/net/bluetooth/hci_core.h 			if (conn->state == BT_CONNECTED) {
BT_CONNECTED      798 net/bluetooth/a2mp.c 	chan->state = BT_CONNECTED;
BT_CONNECTED      234 net/bluetooth/af_bluetooth.c 		if (sk->sk_state == BT_CONNECTED || !newsock ||
BT_CONNECTED      441 net/bluetooth/af_bluetooth.c 		if (sk->sk_state == BT_CONNECTED ||
BT_CONNECTED      574 net/bluetooth/amp.c 	if (hcon->state != BT_CONNECTED) {
BT_CONNECTED      503 net/bluetooth/bnep/core.c 		if (sk->sk_state != BT_CONNECTED)
BT_CONNECTED      586 net/bluetooth/bnep/core.c 	if (ss && ss->state == BT_CONNECTED) {
BT_CONNECTED      602 net/bluetooth/bnep/core.c 	s->state = BT_CONNECTED;
BT_CONNECTED       76 net/bluetooth/bnep/sock.c 		if (nsock->sk->sk_state != BT_CONNECTED) {
BT_CONNECTED      207 net/bluetooth/cmtp/capi.c 				application->state = BT_CONNECTED;
BT_CONNECTED      244 net/bluetooth/cmtp/capi.c 				session->state = BT_CONNECTED;
BT_CONNECTED      429 net/bluetooth/cmtp/capi.c 		if (application->state == BT_CONNECTED)
BT_CONNECTED      485 net/bluetooth/cmtp/capi.c 	if ((!application) || (application->state != BT_CONNECTED)) {
BT_CONNECTED      293 net/bluetooth/cmtp/core.c 		if (sk->sk_state != BT_CONNECTED)
BT_CONNECTED      351 net/bluetooth/cmtp/core.c 	if (s && s->state == BT_CONNECTED) {
BT_CONNECTED       89 net/bluetooth/cmtp/sock.c 		if (nsock->sk->sk_state != BT_CONNECTED) {
BT_CONNECTED      241 net/bluetooth/hci_conn.c 	    (conn->state == BT_CONNECTED || conn->state == BT_CONFIG)) {
BT_CONNECTED     1098 net/bluetooth/hci_conn.c 	if (conn->state != BT_CONNECTED)
BT_CONNECTED     1255 net/bluetooth/hci_conn.c 	if (acl->state == BT_CONNECTED &&
BT_CONNECTED     1660 net/bluetooth/hci_conn.c 	chan->state = BT_CONNECTED;
BT_CONNECTED     3833 net/bluetooth/hci_core.c 		if (c->state != BT_CONNECTED && c->state != BT_CONFIG)
BT_CONNECTED     3917 net/bluetooth/hci_core.c 		if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG)
BT_CONNECTED     3996 net/bluetooth/hci_core.c 		if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG)
BT_CONNECTED     1967 net/bluetooth/hci_event.c 	    (conn->state == BT_CONFIG || conn->state == BT_CONNECTED) &&
BT_CONNECTED     2344 net/bluetooth/hci_event.c 	if (conn->state != BT_CONNECTED)
BT_CONNECTED     2508 net/bluetooth/hci_event.c 			conn->state = BT_CONNECTED;
BT_CONNECTED     2804 net/bluetooth/hci_event.c 			conn->state = BT_CONNECTED;
BT_CONNECTED     2911 net/bluetooth/hci_event.c 		conn->state = BT_CONNECTED;
BT_CONNECTED     2974 net/bluetooth/hci_event.c 	if (ev->status && conn->state == BT_CONNECTED) {
BT_CONNECTED     3045 net/bluetooth/hci_event.c 			conn->state = BT_CONNECTED;
BT_CONNECTED     3119 net/bluetooth/hci_event.c 		conn->state = BT_CONNECTED;
BT_CONNECTED     3813 net/bluetooth/hci_event.c 	if (conn->state == BT_CONNECTED) {
BT_CONNECTED     4166 net/bluetooth/hci_event.c 		conn->state = BT_CONNECTED;
BT_CONNECTED     4207 net/bluetooth/hci_event.c 		conn->state  = BT_CONNECTED;
BT_CONNECTED     4335 net/bluetooth/hci_event.c 	if (ev->status && conn->state == BT_CONNECTED) {
BT_CONNECTED     4343 net/bluetooth/hci_event.c 			conn->state = BT_CONNECTED;
BT_CONNECTED     4802 net/bluetooth/hci_event.c 	hcon->state = BT_CONNECTED;
BT_CONNECTED     5044 net/bluetooth/hci_event.c 		conn->state = BT_CONNECTED;
BT_CONNECTED     5559 net/bluetooth/hci_event.c 			conn->state = BT_CONNECTED;
BT_CONNECTED     5659 net/bluetooth/hci_event.c 	if (!hcon || hcon->state != BT_CONNECTED)
BT_CONNECTED     1997 net/bluetooth/hci_request.c 		if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG)
BT_CONNECTED     2207 net/bluetooth/hci_request.c 	case BT_CONNECTED:
BT_CONNECTED       79 net/bluetooth/hidp/core.c 	ci->state = BT_CONNECTED;
BT_CONNECTED     1208 net/bluetooth/hidp/core.c 		if (ctrl_sk->sk_state != BT_CONNECTED ||
BT_CONNECTED     1209 net/bluetooth/hidp/core.c 		    intr_sk->sk_state != BT_CONNECTED)
BT_CONNECTED     1332 net/bluetooth/hidp/core.c 	if (ctrl->sk.sk_state != BT_CONNECTED ||
BT_CONNECTED     1333 net/bluetooth/hidp/core.c 	    intr->sk.sk_state != BT_CONNECTED)
BT_CONNECTED      424 net/bluetooth/l2cap_core.c 	if (chan->state == BT_CONNECTED || chan->state == BT_CONFIG)
BT_CONNECTED      739 net/bluetooth/l2cap_core.c 	case BT_CONNECTED:
BT_CONNECTED     1269 net/bluetooth/l2cap_core.c 	if (chan->state == BT_CONNECTED)
BT_CONNECTED     1279 net/bluetooth/l2cap_core.c 	chan->state = BT_CONNECTED;
BT_CONNECTED     1418 net/bluetooth/l2cap_core.c 	if (chan->mode == L2CAP_MODE_ERTM && chan->state == BT_CONNECTED) {
BT_CONNECTED     1918 net/bluetooth/l2cap_core.c 	if (chan->state != BT_CONNECTED)
BT_CONNECTED     2494 net/bluetooth/l2cap_core.c 		if (chan->state != BT_CONNECTED) {
BT_CONNECTED     2513 net/bluetooth/l2cap_core.c 		if (chan->state != BT_CONNECTED) {
BT_CONNECTED     2545 net/bluetooth/l2cap_core.c 		if (chan->state != BT_CONNECTED) {
BT_CONNECTED     2573 net/bluetooth/l2cap_core.c 		if (chan->state != BT_CONNECTED) {
BT_CONNECTED     4699 net/bluetooth/l2cap_core.c 	if (chan->state != BT_CONNECTED) {
BT_CONNECTED     4796 net/bluetooth/l2cap_core.c 	if (chan->state != BT_CONNECTED) {
BT_CONNECTED     4893 net/bluetooth/l2cap_core.c 		if (hchan->state == BT_CONNECTED) {
BT_CONNECTED     4942 net/bluetooth/l2cap_core.c 	if (chan->state != BT_CONNECTED) {
BT_CONNECTED     5120 net/bluetooth/l2cap_core.c 		if (hchan->state != BT_CONNECTED)
BT_CONNECTED     6936 net/bluetooth/l2cap_core.c 	if (chan->state != BT_CONNECTED)
BT_CONNECTED     6994 net/bluetooth/l2cap_core.c 	if (chan->state != BT_BOUND && chan->state != BT_CONNECTED)
BT_CONNECTED     7022 net/bluetooth/l2cap_core.c 	if (hcon->state != BT_CONNECTED) {
BT_CONNECTED     7216 net/bluetooth/l2cap_core.c 	case BT_CONNECTED:
BT_CONNECTED     7301 net/bluetooth/l2cap_core.c 	if (hcon->state == BT_CONNECTED) {
BT_CONNECTED     7305 net/bluetooth/l2cap_core.c 				l2cap_state_change(chan, BT_CONNECTED);
BT_CONNECTED     7519 net/bluetooth/l2cap_core.c 		if (!status && (chan->state == BT_CONNECTED ||
BT_CONNECTED      245 net/bluetooth/l2cap_sock.c 	err = bt_sock_wait_state(sk, BT_CONNECTED,
BT_CONNECTED      369 net/bluetooth/l2cap_sock.c 	if (peer && sk->sk_state != BT_CONNECTED &&
BT_CONNECTED      469 net/bluetooth/l2cap_sock.c 		if (sk->sk_state != BT_CONNECTED &&
BT_CONNECTED      530 net/bluetooth/l2cap_sock.c 			if (sk->sk_state == BT_CONNECTED)
BT_CONNECTED      587 net/bluetooth/l2cap_sock.c 		if (sk->sk_state != BT_CONNECTED) {
BT_CONNECTED      651 net/bluetooth/l2cap_sock.c 		if (sk->sk_state == BT_CONNECTED) {
BT_CONNECTED      808 net/bluetooth/l2cap_sock.c 			   sk->sk_state == BT_CONNECTED) {
BT_CONNECTED      905 net/bluetooth/l2cap_sock.c 		if (sk->sk_state == BT_CONNECTED &&
BT_CONNECTED      929 net/bluetooth/l2cap_sock.c 		if (sk->sk_state == BT_CONNECTED) {
BT_CONNECTED      967 net/bluetooth/l2cap_sock.c 	if (sk->sk_state != BT_CONNECTED)
BT_CONNECTED      995 net/bluetooth/l2cap_sock.c 			sk->sk_state = BT_CONNECTED;
BT_CONNECTED      996 net/bluetooth/l2cap_sock.c 			pi->chan->state = BT_CONNECTED;
BT_CONNECTED     1099 net/bluetooth/l2cap_sock.c 		 chan->state == BT_CONNECTED);
BT_CONNECTED     1136 net/bluetooth/l2cap_sock.c 	    chan->state == BT_CONNECTED) {
BT_CONNECTED     1411 net/bluetooth/l2cap_sock.c 	sk->sk_state = BT_CONNECTED;
BT_CONNECTED     1438 net/bluetooth/l2cap_sock.c 		sk->sk_state = BT_CONNECTED;
BT_CONNECTED     1439 net/bluetooth/l2cap_sock.c 		chan->state = BT_CONNECTED;
BT_CONNECTED     2959 net/bluetooth/mgmt.c 	if ((conn->state == BT_CONNECTED || conn->state == BT_CONFIG) &&
BT_CONNECTED     5291 net/bluetooth/mgmt.c 	if (!conn || conn->state != BT_CONNECTED) {
BT_CONNECTED     5479 net/bluetooth/mgmt.c 		if (!conn || conn->state != BT_CONNECTED) {
BT_CONNECTED     5532 net/bluetooth/mgmt.c 	if (conn->state != BT_CONNECTED)
BT_CONNECTED      413 net/bluetooth/rfcomm/core.c 	if (s->state == BT_CONNECTED) {
BT_CONNECTED      474 net/bluetooth/rfcomm/core.c 	case BT_CONNECTED:
BT_CONNECTED      560 net/bluetooth/rfcomm/core.c 	if (d->state != BT_CONNECTED)
BT_CONNECTED      585 net/bluetooth/rfcomm/core.c 	if (d->state == BT_CONNECTED &&
BT_CONNECTED     1184 net/bluetooth/rfcomm/core.c 			d->state = BT_CONNECTED;
BT_CONNECTED     1207 net/bluetooth/rfcomm/core.c 			s->state = BT_CONNECTED;
BT_CONNECTED     1295 net/bluetooth/rfcomm/core.c 	d->state = BT_CONNECTED;
BT_CONNECTED     1335 net/bluetooth/rfcomm/core.c 			s->state = BT_CONNECTED;
BT_CONNECTED     1688 net/bluetooth/rfcomm/core.c 	if (skb->len && d->state == BT_CONNECTED) {
BT_CONNECTED     1890 net/bluetooth/rfcomm/core.c 		if ((d->state == BT_CONNECTED || d->state == BT_DISCONN) &&
BT_CONNECTED     1961 net/bluetooth/rfcomm/core.c 	case BT_CONNECTED:
BT_CONNECTED     2119 net/bluetooth/rfcomm/core.c 		if (d->state == BT_CONNECTED && !status && encrypt == 0x00) {
BT_CONNECTED       90 net/bluetooth/rfcomm/sock.c 		if (d->state == BT_CONNECTED)
BT_CONNECTED      222 net/bluetooth/rfcomm/sock.c 	case BT_CONNECTED:
BT_CONNECTED      419 net/bluetooth/rfcomm/sock.c 		err = bt_sock_wait_state(sk, BT_CONNECTED,
BT_CONNECTED      544 net/bluetooth/rfcomm/sock.c 	if (peer && sk->sk_state != BT_CONNECTED &&
BT_CONNECTED      806 net/bluetooth/rfcomm/sock.c 		if (sk->sk_state != BT_CONNECTED &&
BT_CONNECTED      127 net/bluetooth/rfcomm/tty.c 	return (dev->dlc->state == BT_CONNECTED);
BT_CONNECTED      406 net/bluetooth/rfcomm/tty.c 		if (sk->sk_state != BT_CONNECTED)
BT_CONNECTED      633 net/bluetooth/rfcomm/tty.c 	if (dlc->state == BT_CONNECTED) {
BT_CONNECTED      261 net/bluetooth/sco.c 	if (hcon->state == BT_CONNECTED) {
BT_CONNECTED      263 net/bluetooth/sco.c 		sk->sk_state = BT_CONNECTED;
BT_CONNECTED      314 net/bluetooth/sco.c 	if (sk->sk_state != BT_CONNECTED)
BT_CONNECTED      417 net/bluetooth/sco.c 	case BT_CONNECTED:
BT_CONNECTED      580 net/bluetooth/sco.c 	err = bt_sock_wait_state(sk, BT_CONNECTED,
BT_CONNECTED      718 net/bluetooth/sco.c 	if (sk->sk_state == BT_CONNECTED)
BT_CONNECTED      875 net/bluetooth/sco.c 		if (sk->sk_state != BT_CONNECTED &&
BT_CONNECTED      893 net/bluetooth/sco.c 		if (sk->sk_state != BT_CONNECTED &&
BT_CONNECTED     1032 net/bluetooth/sco.c 		sk->sk_state = BT_CONNECTED;
BT_CONNECTED     1070 net/bluetooth/sco.c 			sk->sk_state = BT_CONNECTED;