The modem is more useful to store than the path, particularly once we
track Aliases
ofono_modem_register(modem);
path = ofono_modem_get_path(modem);
- g_hash_table_insert(uuid_hash, g_strdup(device), g_strdup(path));
+ g_hash_table_insert(uuid_hash, g_strdup(device), modem);
return 0;
}
uuid_hash = g_hash_table_new_full(g_str_hash, g_str_equal,
- g_free, g_free);
+ g_free, NULL);
adapter_address_hash = g_hash_table_new_full(g_str_hash, g_str_equal,
g_free, g_free);