Skip to content

Commit c2be436

Browse files
committed
oops - fix build
1 parent ee413a2 commit c2be436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/bluetooth/bluetooth_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ bool jsble_exec_pending_common(BLEPending blep, uint16_t data, unsigned char *bu
413413
}
414414
case BLEP_ADV_REPORT: {
415415
BLEAdvReportData *p_adv = (BLEAdvReportData *)buffer;
416-
size_t len = sizeof(BLEAdvReportData) + p_adv->dlen - sizeof(adv.data);
416+
size_t len = sizeof(BLEAdvReportData) + p_adv->dlen - sizeof(p_adv->data);
417417
if (bufferLen != len) {
418418
#ifndef RELEASE
419419
jsiConsolePrintf("BLEP_ADV %d %d %d\n", bufferLen,len,p_adv->dlen);

0 commit comments

Comments
 (0)