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:
parent
5363f6e765
commit
6b966e4b96
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue