Fix for destroying gatt client in case of error. 61/214861/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 06:58:11 +0000 (12:28 +0530)
commita70d2eda66fd2a3683e1b470a7d9c56c00831a8e
tree1216bae0f7e8e2910ca4e83e3566778c98fa9c73
parent051d70bbce391ae7e2a8c6b04520d8be703a25cf
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