GATT : Fix connection change callback on Client disconnection 31/303331/1
authorAnuj Jain <anuj01.jain@samsung.com>
Thu, 6 Oct 2022 12:33:21 +0000 (18:03 +0530)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 26 Dec 2023 01:13:07 +0000 (10:13 +0900)
Change-Id: I6f3026f6ecb46e16539bc1d1c7503b3011005593
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
src/bluetooth-gatt.c

index f410f26..fb72744 100644 (file)
@@ -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 */