Fix wrong value about error log 04/55804/1 accepted/tizen/mobile/20151230.223951 accepted/tizen/tv/20151230.224035 accepted/tizen/wearable/20151230.224113 submit/tizen_mobile/20151229.094020 submit/tizen_tv/20151229.094026 submit/tizen_wearable/20151229.094033
authorTaejin Woo <tt.woo@samsung.com>
Tue, 29 Dec 2015 09:36:09 +0000 (18:36 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Tue, 29 Dec 2015 09:36:09 +0000 (18:36 +0900)
Change-Id: Idd700e9a19028fa29606c81cafb674546e85273b
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
src/gatt.c

index 8ada2e1..536c040 100644 (file)
@@ -764,8 +764,8 @@ gboolean gatt_unregister_internet_protocol_service(struct btd_adapter *adapter)
        bt_uuid16_create(&uuid, GATT_IPSP_UUID);
 
        a = attribute_find(adapter, &uuid);
-       if (!a && a->handle != NULL) {
-               error("Attribute not found for handle 0x%04x", a->handle);
+       if (!a) {
+               error("Attribute not found for handle");
                return FALSE;
        }