[LEDE-DEV] [PATCH][netifd] wireless: add retry_setup_failed to status notification

Eduardo Abinader eduardoabinader at gmail.com
Wed Aug 24 03:15:21 PDT 2016


As autostart is now more aligned to user intention of automatic
starting the wdev, to add retry_setup_failed to status msg may be of a help
for current stating how setup is proceeding.

Signed-off-by: Eduardo Abinader <eduardoabinader at gmail.com>
---
 wireless.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wireless.c b/wireless.c
index f537848..2ce5774 100644
--- a/wireless.c
+++ b/wireless.c
@@ -761,6 +761,7 @@ wireless_device_status(struct wireless_device *wdev, struct blob_buf *b)
 	blobmsg_add_u8(b, "pending", wdev->state == IFS_SETUP || wdev->state == IFS_TEARDOWN);
 	blobmsg_add_u8(b, "autostart", wdev->autostart);
 	blobmsg_add_u8(b, "disabled", wdev->disabled);
+	blobmsg_add_u8(b, "retry_setup_failed", wdev->retry_setup_failed);
 	put_container(b, wdev->config, "config");
 
 	i = blobmsg_open_array(b, "interfaces");
-- 
2.5.0




More information about the Lede-dev mailing list