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; }