Removed '0x' from search pattern
diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c
index f17c8c3..54e11b4 100644
--- a/hcid/dbus-sdp.c
+++ b/hcid/dbus-sdp.c
@@ -945,14 +945,9 @@
 			DBUS_TYPE_STRING, &svc,
 			DBUS_TYPE_INVALID);
 
-	if (strlen(svc) > 0) {
-		/* Check if it is a service name string */
-		if (str2uuid(&uuid, svc) < 0) {
-			/* check if the service string is a hex */
-			uint32_t uuid_hex = strtol(svc, NULL, 16);
-			sdp_uuid16_create(&uuid, uuid_hex);
-		}
-	} else
+	if (strlen(svc) > 0)
+		str2uuid(&uuid, svc);
+	else
 		sdp_uuid16_create(&uuid, PUBLIC_BROWSE_GROUP);
 
 	search = sdp_list_append(0, &uuid);
@@ -987,12 +982,8 @@
 	if (strlen(svc) > 0) {
 		/* Check if it is a service name string */
 		if (str2uuid(&uuid, svc) < 0) {
-			/* check if the service string is a hex */
-			uint32_t uuid_hex = strtol(svc, NULL, 16);
-			if (!uuid_hex) {
-				error("Invalid service class name");
-				return error_invalid_arguments(conn, msg);
-			}
+			error("Invalid service class name");
+			return error_invalid_arguments(conn, msg);
 		}
 	}