Skip to content

Commit c2d9807

Browse files
dleach02nashif
authored andcommitted
Bluetooth: Mesh: Fix incorrect reference to BT_SETTINGS
The test for IS_ENABLED(BT_SETTINGS) in mod_reset() should be IS_ENABLED(CONFIG_BT_SETTINGS). Signed-off-by: David Leach <[email protected]> Signed-off-by: Anas Nashif <[email protected]>
1 parent 38a7950 commit c2d9807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/mesh/cfg_srv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3327,7 +3327,7 @@ static void mod_reset(struct bt_mesh_model *mod, struct bt_mesh_elem *elem,
33273327

33283328
mod_sub_list_clear(mod);
33293329

3330-
if (IS_ENABLED(BT_SETTINGS)) {
3330+
if (IS_ENABLED(CONFIG_BT_SETTINGS)) {
33313331
bt_mesh_store_mod_sub(mod);
33323332
}
33333333
}

0 commit comments

Comments
 (0)