From e5e8e8d36ee7e8c8af71917a67bae8ccd296e3aa 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 5643b29..4323a4d 100644 --- a/src/bluetooth-gatt.c +++ b/src/bluetooth-gatt.c @@ -986,7 +986,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