gatt: Fix not sending any data when server supports AcquireWrite
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 6 Apr 2020 21:19:03 +0000 (14:19 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
commite2abf6c3625fa94169d4d0fc868da79e1eb987bd
tree6f0de22be72f7208891f67fdf528720579371566
parent4845dba3144bf9b5fd87835b80b2e51af2208512
gatt: Fix not sending any data when server supports AcquireWrite

msg.msg_iovlen should be set to 1 to forward the data received over the
file descriptor.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/gatt-database.c