From 20a2b7a79d7d729291aec0688f41121490be7e57 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 23 May 2018 22:11:58 +0300 Subject: [PATCH] Bluetooth: Mesh: Fix reference to CONFIG_BT_MESH_FRIEND The Kconfig symbols use BT_* and not BLUETOOTH_*. Signed-off-by: Johan Hedberg --- subsys/bluetooth/host/mesh/cfg_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/host/mesh/cfg_srv.c b/subsys/bluetooth/host/mesh/cfg_srv.c index 4ab0a8b60d5..cf1099c2f8e 100644 --- a/subsys/bluetooth/host/mesh/cfg_srv.c +++ b/subsys/bluetooth/host/mesh/cfg_srv.c @@ -2655,7 +2655,7 @@ static void lpn_timeout_get(struct bt_mesh_model *model, bt_mesh_model_msg_init(&msg, OP_LPN_TIMEOUT_STATUS); net_buf_simple_add_le16(&msg, lpn_addr); - if (!IS_ENABLED(CONFIG_BLUETOOTH_MESH_FRIEND)) { + if (!IS_ENABLED(CONFIG_BT_MESH_FRIEND)) { timeout = 0; goto send_rsp; }