summaryrefslogtreecommitdiffhomepage
path: root/wireless.c
diff options
context:
space:
mode:
authorEduardo Abinader <eduardoabinader@gmail.com>2016-08-24 12:15:21 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-24 15:12:07 +0200
commit5e0fb81b9a9a8ad8ef582d8d29d7d243e1903100 (patch)
tree1aa898f9139cda3f403458b53ee786d1ae39725f /wireless.c
parent2d01488e83f2488c6f1f56309e792d7bc495677f (diff)
wireless: add retry_setup_failed to status notification
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@gmail.com>
Diffstat (limited to 'wireless.c')
-rw-r--r--wireless.c1
1 files changed, 1 insertions, 0 deletions
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");