wireless: add retry_setup_failed to status notification
[project/netifd.git] / wireless.h
index cb725b2..403cc86 100644 (file)
@@ -17,8 +17,8 @@
 #include <libubox/utils.h>
 #include "interface.h"
 
-struct vlist_tree wireless_devices;
-struct avl_tree wireless_drivers;
+extern struct vlist_tree wireless_devices;
+extern struct avl_tree wireless_drivers;
 
 struct wireless_driver {
        struct avl_node node;
@@ -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;