Bluetooth: Mesh: Fix copy-paste mistake when assigning to cfg->frnd

The right value is BT_MESH_FRIEND_NOT_SUPPORTED.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-09-27 09:53:41 +03:00 committed by Johan Hedberg
parent 5363f6e765
commit 6b966e4b96

View file

@ -2960,7 +2960,7 @@ int bt_mesh_conf_init(struct bt_mesh_model *model, bool primary)
}
if (!IS_ENABLED(CONFIG_BT_MESH_FRIEND)) {
cfg->frnd = BT_MESH_RELAY_NOT_SUPPORTED;
cfg->frnd = BT_MESH_FRIEND_NOT_SUPPORTED;
}
if (!IS_ENABLED(CONFIG_BT_MESH_GATT_PROXY)) {