diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-16 09:44:53 +0200 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-16 15:26:11 +0200 |
commit | f1b58c3faed91ddae6755b5cc0d211cc8aa32574 (patch) | |
tree | 783e340c4a48f88ee89783926f4cee7e9e53ec49 /src/device.c | |
parent | 972d3cdce00e7d7a4a0c1025072c507db1fa2a31 (diff) | |
download | connman-f1b58c3faed91ddae6755b5cc0d211cc8aa32574.tar.gz connman-f1b58c3faed91ddae6755b5cc0d211cc8aa32574.tar.bz2 connman-f1b58c3faed91ddae6755b5cc0d211cc8aa32574.zip |
element: Remove element.c
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c index a3401dac..067c7943 100644 --- a/src/device.c +++ b/src/device.c @@ -1140,8 +1140,7 @@ void __connman_device_set_network(struct connman_device *device, connman_network_unref(device->network); if (network != NULL) { - name = connman_network_get_string(network, - CONNMAN_PROPERTY_ID_NAME); + name = connman_network_get_string(network, "Name"); g_free(device->last_network); device->last_network = g_strdup(name); |