diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-05-04 14:54:12 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-05-04 14:54:12 -0700 |
commit | 864cd602c0b400a2368f14b22bb9c224fd67b176 (patch) | |
tree | dfb5b739ffab8ba2677b85ff8cb7a609b1c94681 | |
parent | 89045fb8c22c2c76f6a6e761f253d12a4e7f365e (diff) | |
download | connman-864cd602c0b400a2368f14b22bb9c224fd67b176.tar.gz connman-864cd602c0b400a2368f14b22bb9c224fd67b176.tar.bz2 connman-864cd602c0b400a2368f14b22bb9c224fd67b176.zip |
Make sure interface is down after wpa_supplicant releases it
-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 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); |