summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsak Westin <isak.westin@loytec.com>2022-10-04 10:25:27 +0200
committerAyush Garg <ayush.garg@samsung.com>2023-05-15 14:55:55 +0530
commiteda8175f8bc34828dd290f36fbeab3f37d7de764 (patch)
treec1f8bf00d90c81a2deb457a50f54e2a785e4db06
parent0fc2731f6b8c092f1d2e9818efca378c16064cbc (diff)
downloadbluez-eda8175f8bc34828dd290f36fbeab3f37d7de764.tar.gz
bluez-eda8175f8bc34828dd290f36fbeab3f37d7de764.tar.bz2
bluez-eda8175f8bc34828dd290f36fbeab3f37d7de764.zip
mesh: Correct size of friend cache
The cache size communicated to the Low Power node should be the same as the cache size actually used. Signed-off-by: Manika Shrivastava <manika.sh@samsung.com> Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
-rw-r--r--mesh/friend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/friend.c b/mesh/friend.c
index 6c63032a..5b73da68 100644
--- a/mesh/friend.c
+++ b/mesh/friend.c
@@ -25,7 +25,7 @@
#define MAX_FRND_GROUPS 20
#define FRND_RELAY_WINDOW 250 /* 250 ms */
-#define FRND_CACHE_SIZE 16
+#define FRND_CACHE_SIZE FRND_CACHE_MAX
#define FRND_SUB_LIST_SIZE 8
#define RESPONSE_DELAY (100 - 12) /* 100 ms - 12ms hw delay */