diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-21 01:55:25 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-21 01:55:25 +0100 |
commit | acd4243c17aa6a9896e2e7de41deb3369e8144c6 (patch) | |
tree | bc44a7e70370f7bdc98a5bcafe45817d3394b04e | |
parent | 6e9987061ef9bc393309adfcdba155386d1802c4 (diff) | |
download | connman-acd4243c17aa6a9896e2e7de41deb3369e8144c6.tar.gz connman-acd4243c17aa6a9896e2e7de41deb3369e8144c6.tar.bz2 connman-acd4243c17aa6a9896e2e7de41deb3369e8144c6.zip |
Switch network to disconnected on removal
-rw-r--r-- | plugins/supplicant.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index f9101066..f9af81ae 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -1376,6 +1376,8 @@ int supplicant_disconnect(struct connman_network *network) remove_network(task); + connman_network_set_connected(task->network, FALSE); + connman_network_unref(task->network); return 0; |