diff options
author | Eduardo Abinader <eduardoabinader@gmail.com> | 2016-08-25 11:13:13 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-08-25 11:45:15 +0200 |
commit | 61e5fa84eca4176bc5b4f9769a5af79d85cf11c6 (patch) | |
tree | 66bf2ec57922fbdd6b1c5f621798a872bdfc82a2 /wireless.c | |
parent | 5e0fb81b9a9a8ad8ef582d8d29d7d243e1903100 (diff) |
wireless: remove config_autostart
just a cleanup for an unused member.
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
Diffstat (limited to 'wireless.c')
-rw-r--r-- | wireless.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |