From 27fadad16f3c109c2afdcaba04e21928fe05da53 Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Tue, 1 Apr 2014 14:54:27 +0200 Subject: [PATCH] android/gatt: Remove redundant hal cmd check This removes redundant hal cmd check (is received in cmd UUID == NULL). --- android/gatt.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/android/gatt.c b/android/gatt.c index 941582a7c..ee77a4eea 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -350,12 +350,6 @@ static void handle_client_register(const void *buf, uint16_t len) DBG(""); - if (!cmd->uuid) { - error("gatt: no uuid received"); - status = HAL_STATUS_FAILED; - goto failed; - } - if (queue_find(gatt_clients, match_client_by_uuid, &cmd->uuid)) { error("gatt: client uuid is already on list"); status = HAL_STATUS_FAILED; -- 2.47.3