summaryrefslogtreecommitdiff
path: root/common/btle_ll.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/btle_ll.c')
-rw-r--r--common/btle_ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/btle_ll.c b/common/btle_ll.c
index 02f6af73d0..d05813d95c 100644
--- a/common/btle_ll.c
+++ b/common/btle_ll.c
@@ -619,7 +619,7 @@ int ble_ll_adv(int chan)
int ble_ll_adv_event(void)
{
int chan_idx;
- int rv;
+ int rv = EC_SUCCESS;
for (chan_idx = 0; chan_idx < 3; chan_idx++) {
if (ll_adv_params.advChannelMap & BIT(chan_idx)) {