zephyr/subsys/bluetooth
Johan Hedberg c393bfd8e3 Bluetooth: Mesh: Fix Friend messaging state tracking
There were several issues with the code:

 - queue_size wasn't properly kept up to date, leading to erroneous
   buffer discarding logic.

 - Poll timeout when there were buffers in the Friend Queue didn't
   work because we didn't track if there'd been a preceding request
   for messages or not (hence the added pending_req variable).

 - We would overwrite the recv_delay timer if there was another
   request while the previous one was still sending (a likely scenario
   if we send out multiple advertising events per packet).

 - We weren't canceling the sending of a buffer if the Friendship was
   suddenly cleared.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-11-28 17:17:48 +02:00
..
common kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
controller Bluetooth: controller: Fix compile error when LE_ENC is disabled 2017-11-22 18:48:05 -05:00
host Bluetooth: Mesh: Fix Friend messaging state tracking 2017-11-28 17:17:48 +02:00
shell Bluetooth: shell: Fix compile error due to missing memq.h include 2017-11-27 13:48:24 -08:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
Kconfig samples: Bluetooth: add HCI SPI raw handler sample 2017-08-15 22:58:02 +03:00