mesh: Fix sequence number of message in friend queue
authorBrian Gix <brian.gix@intel.com>
Wed, 19 Jan 2022 15:44:11 +0000 (07:44 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
commit7d9de7fd84d3b81ae78f001800147b107c6a9e20
tree23591a556a84bd837aea436986119cbf913f0a0a
parent9f216b0c9a434d15d7ef027e0720e3a20227d0b9
mesh: Fix sequence number of message in friend queue

As pointed out by https://github.com/bluez/bluez/issues/250, the last
segment of a multi-segmented message added to Friend Queue was getting
reset to the seqAuth value incorrectly. The correct sequence was set
within the preceding for loop.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
mesh/net.c