GATT : Fix connection change callback on Client disconnection 19/282619/1
authorAnuj Jain <anuj01.jain@samsung.com>
Thu, 6 Oct 2022 12:33:21 +0000 (18:03 +0530)
committerAnuj Jain <anuj01.jain@samsung.com>
Thu, 6 Oct 2022 12:33:21 +0000 (18:03 +0530)
Change-Id: I6f3026f6ecb46e16539bc1d1c7503b3011005593
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
src/bluetooth-gatt.c

index 5643b29..4323a4d 100644 (file)
@@ -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 */