Bluetooth: Mesh: Fix reference to CONFIG_BT_MESH_FRIEND

The Kconfig symbols use BT_* and not BLUETOOTH_*.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2018-05-23 22:11:58 +03:00 committed by Anas Nashif
commit 20a2b7a79d

View file

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