}
static void convert_config(struct btd_adapter *adapter, const char *filename,
- GKeyFile *key_file)
+ GKeyFile *key_file)
{
char address[18];
char str[MAX_NAME_LENGTH + 1];
if (device->alias != NULL)
g_key_file_set_string(key_file, "General", "Alias",
- device->alias);
+ device->alias);
g_key_file_set_boolean(key_file, "General", "Trusted",
- device->trusted);
+ device->trusted);
ba2str(adapter_get_address(device->adapter), adapter_addr);
ba2str(&device->bdaddr, device_addr);
/* Load alias */
device->alias = g_key_file_get_string(key_file, "General", "Alias",
- NULL);
+ NULL);
/* Load trust */
device->trusted = g_key_file_get_boolean(key_file, "General",