summaryrefslogtreecommitdiffhomepage
path: root/wireless.h
diff options
context:
space:
mode:
authorEduardo Abinader <eduardo.abinader@riverbed.com>2016-08-12 08:51:58 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-23 09:54:24 +0200
commit2d01488e83f2488c6f1f56309e792d7bc495677f (patch)
tree40bb364ce1290e9953b3e6fa4b35d9212041524d /wireless.h
parentc8a5f1ae361ab61192be6085c29d977eb73a05f5 (diff)
netifd: track when wdev setup fails
When netifd failed to load a valid configuration, after an invalid one, it was not possible to setup the wireless device. This patch aims to track this situation and behave acordingly, by keeping track of failed setup without affecting autostart behavior. Also block the restart of the wdev, when not applied. Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'wireless.h')
-rw-r--r--wireless.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wireless.h b/wireless.h
index 665cdb7..403cc86 100644
--- a/wireless.h
+++ b/wireless.h
@@ -56,6 +56,7 @@ struct wireless_device {
bool config_autostart;
bool autostart;
bool disabled;
+ bool retry_setup_failed;
enum interface_state state;
enum interface_config_state config_state;