Diff between 4305e6c3efdda319287c429ef96b253efb2e6424 and b0ad16cf4d4b3ad3e477c95f1bef30e0d937d9ac

Changed Files

File Additions Deletions Status
tools/btproxy.c +2 -1 modified

Full Patch

diff --git a/tools/btproxy.c b/tools/btproxy.c
index fd41f6f..3c7c48f 100644
--- a/tools/btproxy.c
+++ b/tools/btproxy.c
@@ -74,7 +74,7 @@ struct stream {
 	int dst_fd;
 	uint8_t dst_type;
 	uint8_t buf[4096];
-	uint8_t len;
+	uint16_t len;
 };
 
 static void stream_free(void *data)
@@ -194,6 +194,7 @@ process_packet:
 		wlen = pktlen;
 	}
 
+	printf("* wlen = %zd\n", wlen);
 	util_hexdump('*', wbuf, wlen, hexdump_print, NULL);
 
 	while (wlen > 0) {