diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-24 06:56:19 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-24 06:56:19 -0800 |
commit | c7fdd26c2410fc18195baa313700a47fa76fec67 (patch) | |
tree | 966e79ce6bfac56b9152e61df51c7f7e6b6151e5 /plugins/ethernet.c | |
parent | 4ffb42c8fb8f0d9c2189ba6fbcb1fded222cb68d (diff) | |
download | connman-c7fdd26c2410fc18195baa313700a47fa76fec67.tar.gz connman-c7fdd26c2410fc18195baa313700a47fa76fec67.tar.bz2 connman-c7fdd26c2410fc18195baa313700a47fa76fec67.zip |
Set Ethernet connected after assigning the network group
Diffstat (limited to 'plugins/ethernet.c')
-rw-r--r-- | plugins/ethernet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ethernet.c b/plugins/ethernet.c index 87c71acf..734523ae 100644 --- a/plugins/ethernet.c +++ b/plugins/ethernet.c @@ -103,9 +103,10 @@ static void add_network(struct connman_device *device) } connman_network_set_available(network, TRUE); - connman_network_set_connected(network, TRUE); connman_network_set_group(network, "cable"); + + connman_network_set_connected(network, TRUE); } static void ethernet_newlink(unsigned flags, unsigned change, void *user_data) |