[Problem] After receiving attribute response which has continuation
part more than 7 times, btmon doesn't print the decoded result.
[Cause & Measure] After combining attributes response, cont_list[x].cont is not
reset.
Change-Id: If6087288d10e446e9491e62eb2dd3250822e4311
Signed-off-by: Seungyoun Ju <sy39.ju@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
free(cont_list[n].data);
cont_list[n].data = NULL;
cont_list[n].size = 0;
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+ cont_list[n].cont[0] = 0x00;
+#endif
} else
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
memcpy(cont_list[n].cont, data + bytes, data[bytes] + 1);