Fix for destroying gatt client in case of error. 63/214863/1
authorKush <kush.agrawal@samsung.com>
Thu, 19 Sep 2019 08:39:01 +0000 (14:09 +0530)
committerhimanshu . <h.himanshu@samsung.com>
Fri, 27 Sep 2019 07:04:43 +0000 (07:04 +0000)
commit60648fe32edeacb2faf7f583c0cf701ed2599f2b
tree78a25e951a41d7ab937814ef01a7ddd7293c1b65
parent84ac4ce208865962136212dad86104608f0622f8
Fix for destroying gatt client in case of error.

Client Handle was not destroyed.
Because of that from second time onwards client handle was not getting created.
MTU size was set to default and bt buffer overflow error was coming.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/578/commits/e51cc0061628ab0fb7710ed3a5c3df08b61e2d5a
(cherry-picked from e51cc0061628ab0fb7710ed3a5c3df08b61e2d5a)

Change-Id: I65e5092c8b9c230b4394dd6239706b5f2d28fd36
Signed-off-by: Kush <kush.agrawal@samsung.com>
Signed-off-by: himanshu <h.himanshu@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleserver_vd.c