Diff between ab9e1b69b8e6f1ed79f90fdf03839a9d14dee287 and c0a3a46f52720ac74672f02adc5b3d49cd93d52d

Changed Files

File Additions Deletions Status
tools/parser/hci.c +4 -1 modified

Full Patch

diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index 6bdbee7..c16f10e 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -831,16 +831,19 @@ static inline void ext_inquiry_response_dump(int level, struct frame *frm)
 {
 	void *ptr = frm->ptr;
 	uint32_t len = frm->len;
+	uint8_t *data;
 	uint8_t length;
 
+	data = frm->ptr;
 	length = get_u8(frm);
 
 	while (length > 0) {
-		ext_inquiry_data_dump(level, frm, frm->ptr);
+		ext_inquiry_data_dump(level, frm, data);
 
 		frm->ptr += length;
 		frm->len -= length;
 
+		data = frm->ptr;
 		length = get_u8(frm);
 	}