diff --git a/subsys/bluetooth/host/mesh/cfg_srv.c b/subsys/bluetooth/host/mesh/cfg_srv.c index e7e33e181e4..81edea7bb7c 100644 --- a/subsys/bluetooth/host/mesh/cfg_srv.c +++ b/subsys/bluetooth/host/mesh/cfg_srv.c @@ -348,11 +348,9 @@ static u8_t mod_unbind(struct bt_mesh_model *model, u16_t key_idx) _mod_pub_set(model, BT_MESH_ADDR_UNASSIGNED, 0, 0, 0, 0, 0); } - - return STATUS_SUCCESS; } - return STATUS_CANNOT_BIND; + return STATUS_SUCCESS; } static struct bt_mesh_app_key *app_key_alloc(u16_t app_idx)