techno = g_key_file_get_string_list(keyfile, "General",
"SupportedTechnologies", NULL, NULL);
if (!techno)
- return BDADDR_BREDR;
+ return 0xff;
for (t = techno; *t; t++) {
if (g_str_equal(*t, "LE"))
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
str2ba(entry->d_name, &addr.bdaddr);
addr.bdaddr_type = get_addr_type(key_file);
+ if (addr.bdaddr_type == 0xff) {
+ error("No SupportedTechnologies. Skipping");
+ goto free;
+ }
list = g_slist_find_custom(adapter->devices, &addr,
device_addr_type_strict_cmp);