From 980c127c32284c43a1a409bd3418844ab32cae95 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sat, 12 Jun 2010 21:00:03 +0000 Subject: [PATCH] send complete ServiceRecord instaed of first 16 bytes --- src/hci_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci_cmds.c b/src/hci_cmds.c index a6d1f4573..9c50da856 100644 --- a/src/hci_cmds.c +++ b/src/hci_cmds.c @@ -119,7 +119,7 @@ uint16_t hci_create_cmd_internal(uint8_t *hci_cmd_buffer, hci_cmd_t *cmd, va_lis ptr = va_arg(argptr, uint8_t *); uint16_t len = de_get_len(ptr); memcpy(&hci_cmd_buffer[pos], ptr, len); - pos += 16; + pos += len; break; } default: