zephyr/subsys/bluetooth/host
Joakim Andersson bf33338652 Bluetooth: host: Fix net buf assert on att encrypt change event
Fix assert in net_buf triggered on att encrypt change event.

	ASSERTION FAIL [net_buf_simple_headroom(buf) >= len] @
	  ZEPHYR_BASE/subsys/net/buf.c:881

This happens because when the att request was allocated, it was not
properly initialized and req->retrying was left as true.
This caused the att encrypt change handling to assume an att request
needed to be resent, starting resending with an invalid request and
request buffer.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-01-23 18:08:24 +02:00
..
a2dp_internal.h
a2dp.c
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: host: Fix net buf assert on att encrypt change event 2020-01-23 18:08:24 +02:00
avdtp_internal.h
avdtp.c Bluetooth: L2CAP: Make channel ops const 2019-12-19 11:28:24 +02:00
CMakeLists.txt
conn_internal.h Bluetooth: host: Reserve conn object for connectable advertiser 2020-01-14 14:27:31 +01:00
conn.c Bluetooth: host: Handle initiator at RPA timeout 2020-01-20 18:58:02 +02: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
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
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: Queue packets when a segment could not be allocated 2019-12-13 15:30:28 +02:00
l2cap.c Bluetooth: Always use full path to hci_driver.h 2020-01-16 19:20:39 -05: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
smp_null.c Bluetooth: L2CAP: Make channel ops const 2019-12-19 11:28:24 +02:00
smp.c Bluetooth: Host: Fix issues with host IRK handling 2019-12-20 15:45:34 +01: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