zephyr/subsys/bluetooth/host
Joakim Andersson 576c68317a Bluetooth: L2CAP: Reset channel status before destroy callback
Move reset of channel status from after the destroy callback since the
after the destroy callback the memory should be assumed to be released.
Instead clear the channel status when the channel is created in
l2cap_chan_add. This way we don't rely on the memory given being set to
the correct value.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-01-28 17:55:38 +02:00
..
a2dp_internal.h
a2dp.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
at.c
at.h
att_internal.h Bluetooth: GATT: Allocate request from a memory slab 2020-01-09 19:20:21 +01:00
att.c Bluetooth: ATT: Fix ATT corrupting mem_slab structure after free 2020-01-28 17:55:38 +02:00
avdtp_internal.h
avdtp.c Bluetooth: L2CAP: Make channel ops const 2019-12-19 11:28:24 +02:00
CMakeLists.txt Bluetooth: Mesh: Move under subsys/bluetooth/mesh 2019-07-10 09:41:57 +03:00
conn_internal.h Bluetooth: host: Reserve conn object for connectable advertiser 2020-01-14 14:27:31 +01:00
conn.c Bluetooth: host: kconfig: Fix broken ref. to BT_CTLR_TX_BUFFER_SIZE 2020-01-25 08:15:34 -05:00
crypto.c Bluetooth: Host: Fix usage of re-using Bluetooth log buffers 2019-09-30 17:47:43 +02:00
crypto.h
ecc.h
gatt_internal.h Bluetooth: GATT: Use check_perm to check CCC permission 2019-09-19 21:12:39 +03:00
gatt.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
hci_core.c Bluetooth: host: Refactor use of #ifdef to IS_ENABLED() 2020-01-20 18:58:02 +02:00
hci_core.h Bluetooth: host: Handle starting roles with different random address 2020-01-20 18:58:02 +02:00
hci_ecc.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
hfp_hf.c Bluetooth: Remove usage of BT_BUF_USER_DATA_MIN 2019-11-28 13:35:11 +02:00
hfp_internal.h
Kconfig Bluetooth: host: Handle initiator at RPA timeout 2020-01-20 18:58:02 +02:00
Kconfig.gatt Bluetooth: GATT: Allocate request from a memory slab 2020-01-09 19:20:21 +01:00
Kconfig.l2cap Bluetooth: L2CAP: Use NET_BUF_TX_COUNT as fragment count 2019-12-13 15:30:28 +02:00
keys_br.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
keys.c Bluetooth: host: Rethink how unpair all works 2020-01-04 14:10:46 +01:00
keys.h Bluetooth: host: Rethink how unpair all works 2020-01-04 14:10:46 +01:00
l2cap_br.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
l2cap_internal.h Bluetooth: L2CAP: Add destroy callback to fixed L2CAP channels 2020-01-28 17:55:38 +02:00
l2cap.c Bluetooth: L2CAP: Reset channel status before destroy callback 2020-01-28 17:55:38 +02:00
monitor.c bluetooth: monitor: don't build backend if minimal 2019-10-01 09:24:02 -04:00
monitor.h
rfcomm_internal.h Bluetooth: hci_raw: Add support for specifying buffer headroom 2019-11-20 19:29:06 +01:00
rfcomm.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05:00
sdp_internal.h
sdp.c Bluetooth: L2CAP: Make channel ops const 2019-12-19 11:28:24 +02:00
settings.c Bluetooth: Host: Fix issues with host IRK handling 2019-12-20 15:45:34 +01:00
settings.h subsys/settings: Update bluetooth module 2019-06-26 16:31:01 +02:00
smp_null.c Bluetooth: L2CAP: Add destroy callback to fixed L2CAP channels 2020-01-28 17:55:38 +02:00
smp.c Bluetooth: L2CAP: Add destroy callback to fixed L2CAP channels 2020-01-28 17:55:38 +02:00
smp.h Bluetooth: Host: Fix issues with host IRK handling 2019-12-20 15:45:34 +01:00
testing.c
testing.h
uuid.c Bluetooth: UUID: Expose bt_uuid_to_str to application 2019-12-09 17:15:05 +02:00