summaryrefslogtreecommitdiff
path: root/mesh
diff options
context:
space:
mode:
authorIsak Westin <isak.westin@loytec.com>2022-10-04 10:25:27 +0200
committerBrian Gix <brian.gix@intel.com>2022-10-06 13:34:20 -0700
commite9a8e884109c1fb3ee075115cb28312dd2716669 (patch)
tree8e1890229254e4df40676da72f879c3365f10dac /mesh
parente71e1103abc63df5ba445897036eabfda4de2a2d (diff)
downloadbluez-e9a8e884109c1fb3ee075115cb28312dd2716669.tar.gz
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.
Diffstat (limited to 'mesh')
-rw-r--r--mesh/friend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/friend.c b/mesh/friend.c
index 6c63032ac..5b73da689 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 */