zephyr/subsys/bluetooth
Johan Hedberg 8dd37fa79a Bluetooth: Mesh: Fix sequence number in Friend queue
The code was updating net_rx->seq to make sure sdu_recv() gets the
right sequence number (seq_auth for segmented messages), however later
net_rx->seq was also used for enqueuing to the Friend Queue, causing
the queued messages to have the wrong value.

To fix this, don't update net_rx->seq, rather pass an explicit
sequence number value to sdu_recv(), which is just net_rx->seq for
unsegmented messages, and seq_auth for segmented messages.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-05-03 10:01:00 +01:00
..
common Bluetooth: Move HCI command buffer user data into separate array 2018-02-12 09:48:32 +02:00
controller Bluetooth: controller: Use hal/ticker.h to abstract SoC specifics 2018-04-09 10:34:04 +02:00
host Bluetooth: Mesh: Fix sequence number in Friend queue 2018-05-03 10:01:00 +01:00
shell Bluetooth: Remove 'own_addr' from advertising parameters 2018-03-21 18:11:49 +02: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