Bluetooth: Mesh: Fix printing device UUID

IS_ENABLED was incorrectly used here.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
Pavel Vasilyev 2023-09-15 16:02:21 +02:00 committed by Carles Cufí
commit ac050455c5

View file

@ -675,7 +675,7 @@ int bt_mesh_prov_enable(bt_mesh_prov_bearer_t bearers)
return -EALREADY;
}
#if IS_ENABLED(CONFIG_BT_MESH_PROV_DEVICE_LOG_LEVEL)
#if defined(CONFIG_BT_MESH_PROV_DEVICE_LOG_LEVEL)
if (CONFIG_BT_MESH_PROV_DEVICE_LOG_LEVEL > 2) {
struct bt_uuid_128 uuid = { .uuid = { BT_UUID_TYPE_128 } };