From 191bc172f7f9ba9806f1c0218b2455691b248eba Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Fri, 9 May 2014 13:16:08 +0000 Subject: [PATCH] only use non-automatic-flushable acl packets for LE --- ble/l2cap_le.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ble/l2cap_le.c b/ble/l2cap_le.c index 5b682e5c9..17e0e017d 100644 --- a/ble/l2cap_le.c +++ b/ble/l2cap_le.c @@ -110,8 +110,8 @@ int l2cap_send_prepared_connectionless(uint16_t handle, uint16_t cid, uint16_t l uint8_t *acl_buffer = hci_get_outgoing_packet_buffer(); - // 0 - Connection handle : PB=10 : BC=00 - bt_store_16(acl_buffer, 0, handle | (2 << 12) | (0 << 14)); + // 0 - Connection handle : PB=00 : BC=00 + bt_store_16(acl_buffer, 0, handle | (0 << 12) | (0 << 14)); // 2 - ACL length bt_store_16(acl_buffer, 2, len + 4); // 4 - L2CAP packet length