diff --git a/src/hci.c b/src/hci.c index 26dec9049..53bbe5c48 100644 --- a/src/hci.c +++ b/src/hci.c @@ -753,10 +753,10 @@ void le_handle_advertisement_report(uint8_t *packet, int size){ int i; log_info("HCI: handle adv report with num reports: %d", num_reports); + uint8_t event[2 + LE_ADVERTISING_DATA_SIZE]; // use upper bound to avoid var size automatic var for (i=0; i