zephyr/subsys/bluetooth/host
Jonathan Rico e6aba3e9af Bluetooth: host: clear ATT_CONNECTED flag on detach
Clear the `ATT_CONNECTED` flag when a channel is detached (could be after
an ATT timeout).

Also convert the assert checking it in `chan send` to an `if` test, since
the channel could be disconnected from a different thread than the one
triggering `chan_send`.

Fixes #53247.

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2023-01-09 19:19:39 +01:00
..
a2dp_internal.h
a2dp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
addr.c
adv.c Bluetooth: host: adv: set the address in bt_le_adv_resume 2022-12-19 09:37:25 +00:00
adv.h Bluetooth: Host: reset adv_pool in bt_disable 2022-11-09 09:03:50 +00:00
aes_ccm.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
at.c
at.h
att_internal.h
att.c Bluetooth: host: clear ATT_CONNECTED flag on detach 2023-01-09 19:19:39 +01:00
avdtp_internal.h
avdtp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
br.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
br.h
buf.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
CMakeLists.txt Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
conn_internal.h Bluetooth: Host: clean up after connections in bt_disable 2022-11-09 09:03:50 +00:00
conn.c Bluetooth: Host: Fix access of uninitialized bt_dev.le.acl_pkts 2023-01-09 12:41:33 +01:00
crypto.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
crypto.h
direction_internal.h
direction.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
ecc.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
ecc.h Bluetooth: Host: add pub_key_hci_disrupted function 2022-11-09 09:03:50 +00:00
gatt_internal.h
gatt.c Bluetooth: GATT: Fix missing endianess conversion on include end-handle 2022-12-14 17:26:03 +01:00
hci_common.c
hci_core.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
hci_core.h Bluetooth: host: Fix RPA timeout expiration 2022-11-21 12:36:50 +01:00
hci_ecc.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
hfp_hf.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
hfp_internal.h
id.c Bluetooth: host: adv: set the address in bt_le_adv_resume 2022-12-19 09:37:25 +00:00
id.h Bluetooth: host: Call RPA expired on disabled advertising sets 2022-11-21 12:36:50 +01:00
iso_internal.h Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
iso.c Bluetooth: ISO: Fix bad handle of data path error for broadcast 2023-01-09 12:18:11 +01:00
Kconfig bluetooth: host: smp: unauth bond overwrite on different identity 2022-12-01 09:48:02 +01:00
Kconfig.gatt Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
Kconfig.l2cap Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
keys_br.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
keys.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
keys.h Bluetooth: Host: Define bt_irk_eq 2022-10-27 13:16:59 +02:00
l2cap_br.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
l2cap_internal.h Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
l2cap.c Bluetooth: Host: l2cap: disconnect when PDU > MPS 2022-11-30 12:50:10 +01:00
long_wq.c
long_wq.h
monitor.c
monitor.h
rfcomm_internal.h
rfcomm.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
scan.c Bluetooth: Host: Fix missing pull left mem in scan pdu 2022-12-20 10:20:10 +01:00
scan.h
sdp_internal.h
sdp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
settings.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
settings.h
smp_null.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
smp.c Bluetooth: Host: Add logging of pairing req/rsp 2022-12-20 09:22:10 +01:00
smp.h
ssp.c Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log 2022-11-25 17:08:36 +01:00
ssp.h
testing.c
testing.h
uuid.c