wireless: remove the no_delete flag, remove virtual interfaces from the avl tree
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Dec 2013 18:21:35 +0000 (19:21 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 11 Dec 2013 18:21:54 +0000 (19:21 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c

index a4d7c26e71763c2cfb60b57fd79cf136831434fb..6201da7cfcb78c6dbba51b88c91d6320b2f08de9 100644 (file)
@@ -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;