From: Felix Fietkau Date: Wed, 11 Dec 2013 18:21:35 +0000 (+0100) Subject: wireless: remove the no_delete flag, remove virtual interfaces from the avl tree X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=121d90a6faa4a689a593eadb738e537a5768534d;p=oweals%2Fnetifd.git wireless: remove the no_delete flag, remove virtual interfaces from the avl tree Signed-off-by: Felix Fietkau --- diff --git a/wireless.c b/wireless.c index a4d7c26..6201da7 100644 --- a/wireless.c +++ b/wireless.c @@ -624,7 +624,6 @@ wireless_device_create(struct wireless_driver *drv, const char *name, struct blo INIT_LIST_HEAD(&wdev->script_proc); vlist_init(&wdev->interfaces, avl_strcmp, vif_update); wdev->interfaces.keep_old = true; - wdev->interfaces.no_delete = true; vlist_add(&wireless_devices, &wdev->node, wdev->name); wdev->timeout.cb = wireless_device_setup_timeout;