From: Eduardo Abinader Date: Thu, 25 Aug 2016 09:13:13 +0000 (+0200) Subject: wireless: remove config_autostart X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=61e5fa84eca4176bc5b4f9769a5af79d85cf11c6 wireless: remove config_autostart just a cleanup for an unused member. Signed-off-by: Eduardo Abinader --- diff --git a/wireless.c b/wireless.c index 2ce5774..be94c34 100644 --- a/wireless.c +++ b/wireless.c @@ -690,8 +690,7 @@ wireless_device_create(struct wireless_driver *drv, const char *name, struct blo wdev->name = strcpy(name_buf, name); wdev->config = data; wdev->retry_setup_failed = false; - wdev->config_autostart = true; - wdev->autostart = wdev->config_autostart; + wdev->autostart = true; INIT_LIST_HEAD(&wdev->script_proc); vlist_init(&wdev->interfaces, avl_strcmp, vif_update); wdev->interfaces.keep_old = true; diff --git a/wireless.h b/wireless.h index 403cc86..3498bd8 100644 --- a/wireless.h +++ b/wireless.h @@ -53,7 +53,6 @@ struct wireless_device { struct blob_attr *config; struct blob_attr *data; - bool config_autostart; bool autostart; bool disabled; bool retry_setup_failed;