diff --git a/subsys/bluetooth/mesh/proxy_srv.c b/subsys/bluetooth/mesh/proxy_srv.c index ca5e8bb76d1..f17e98f11d2 100644 --- a/subsys/bluetooth/mesh/proxy_srv.c +++ b/subsys/bluetooth/mesh/proxy_srv.c @@ -783,7 +783,7 @@ static int gatt_proxy_advertise(void) { int err; - int32_t max_adv_duration; + int32_t max_adv_duration = 0; int cnt; struct bt_mesh_subnet *sub; struct proxy_adv_request request;