Diff between 4977100c5c0d843cec9d61c304dcea52db9b9053 and 91ce0439f562f76b6f7895afd37116f6fed82ae9

Changed Files

File Additions Deletions Status
profiles/gap/gas.c +1 -1 modified

Full Patch

diff --git a/profiles/gap/gas.c b/profiles/gap/gas.c
index 90b2b4f..f737949 100644
--- a/profiles/gap/gas.c
+++ b/profiles/gap/gas.c
@@ -73,7 +73,7 @@ static int cmp_device(gconstpointer a, gconstpointer b)
 	return gas->device == device ? 0 : -1;
 }
 
-static char *name2utf8(const uint8_t *name, uint8_t len)
+static char *name2utf8(const uint8_t *name, uint16_t len)
 {
 	char utf8_name[HCI_MAX_NAME_LENGTH + 2];
 	int i;