From 711e9b39dc5ece02b4f74df5d9a5911c7c5190f3 Mon Sep 17 00:00:00 2001 From: Anuj Jain Date: Thu, 6 Oct 2022 18:03:21 +0530 Subject: [PATCH] GATT : Fix connection change callback on Client disconnection Change-Id: I6f3026f6ecb46e16539bc1d1c7503b3011005593 Signed-off-by: Anuj Jain --- src/bluetooth-gatt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bluetooth-gatt.c b/src/bluetooth-gatt.c index f410f26..fb72744 100644 --- a/src/bluetooth-gatt.c +++ b/src/bluetooth-gatt.c @@ -990,7 +990,6 @@ int bt_gatt_disconnect(const char *address) if (ret != BT_ERROR_NONE) BT_ERR("%s(0x%08x)", _bt_convert_error_to_string(ret), ret); - _bt_unset_cb(BT_EVENT_GATT_CONNECTION_STATUS); return ret; } /* LCOV_EXCL_STOP */ -- 2.34.1