summaryrefslogtreecommitdiffhomepage
path: root/wireless.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-11 19:21:35 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-12-11 19:21:54 +0100
commit121d90a6faa4a689a593eadb738e537a5768534d (patch)
treecd4b9a8059a9655ffe9437c6bb4753332be18b28 /wireless.c
parentc48a6457f851f24b07c384007bb471dafcd0ef14 (diff)
wireless: remove the no_delete flag, remove virtual interfaces from the avl tree
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'wireless.c')
-rw-r--r--wireless.c1
1 files changed, 0 insertions, 1 deletions
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;