GATT: Clear g_pending_write_list when GATT disconnection occurs 78/252678/2 accepted/tizen/unified/20210203.145608 submit/tizen/20210201.221911
authorAyush Garg <ayush.garg@samsung.com>
Mon, 1 Feb 2021 08:54:08 +0000 (14:24 +0530)
committerPyun DoHyun <dh79.pyun@samsung.com>
Mon, 1 Feb 2021 22:01:26 +0000 (22:01 +0000)
commitdbde8e7bbc3ebed102f1d6e9aaf1c7059641cfb0
tree5925ffab74266e1e5d96fef361d08052d8030fbd
parent71dd3e09c3f8fc9fef896066cb14bb0f6004ca7f
GATT: Clear g_pending_write_list when GATT disconnection occurs

This change will clear all the pending prepare_write_request
for a specific connection id when abrupt disconnection occurs
during GATT long write operation.

Change-Id: I6576329cb9d560c37f3d2b89243fa1f957424918
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
bt-service/services/gatt/bt-service-gatt.c