summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-05-04 14:54:12 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-05-04 14:54:12 -0700
commit864cd602c0b400a2368f14b22bb9c224fd67b176 (patch)
treedfb5b739ffab8ba2677b85ff8cb7a609b1c94681 /plugins
parent89045fb8c22c2c76f6a6e761f253d12a4e7f365e (diff)
downloadconnman-864cd602c0b400a2368f14b22bb9c224fd67b176.tar.gz
connman-864cd602c0b400a2368f14b22bb9c224fd67b176.tar.bz2
connman-864cd602c0b400a2368f14b22bb9c224fd67b176.zip
Make sure interface is down after wpa_supplicant releases it
Diffstat (limited to 'plugins')
-rw-r--r--plugins/supplicant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c
index fc57d35b..b92793cb 100644
--- a/plugins/supplicant.c
+++ b/plugins/supplicant.c
@@ -381,6 +381,8 @@ static void remove_interface_reply(DBusPendingCall *call, void *user_data)
connman_device_unref(task->device);
+ inet_ifdown(task->ifindex);
+
free_task(task);
dbus_message_unref(reply);