mesh: Fix msg cache ring buffer
authorIsak Westin <isak.westin@loytec.com>
Thu, 6 Oct 2022 14:59:27 +0000 (16:59 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commitc68699123851642b3d695107c1b207de9f97bace
tree1896dc7972f947aba805df1a7f3d3847544ad80b
parentf3f04be336e1eddf8b55cc4d5d6137c7005a10dd
mesh: Fix msg cache ring buffer

The message cache should be a strict ring buffer, suppressed message
should not move to the front of the queue.

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