client: Fix writing attribute values 73/204973/1
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>
Thu, 26 Apr 2018 12:31:58 +0000 (14:31 +0200)
committerAmit Purwar <amit.purwar@samsung.com>
Mon, 29 Apr 2019 04:02:45 +0000 (09:32 +0530)
commitc56eb54f8436e480c092596cafc34d0080c7449d
treedd85ccdee01bcb03af5ae2334bd9c4355622503e
parentbd4c2919a9f655ea3679224fb8b6306236346c29
client: Fix writing attribute values

Attribute values is not copied with dbus_message_iter_get_fixed_array,
so gatt write callback needs to replace old value with reallocation and
copy.

Change-Id: I7a22c69f50d289d2d4c8430e938ec2516071d7cc
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
client/gatt.c