as done in pressed and released actions

Signed-off-by: Günther Kelleter <guenther.kelle...@devolo.de>
---
 plug/hotplug.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plug/hotplug.c b/plug/hotplug.c
index 0c97e4d..b5ebd07 100644
--- a/plug/hotplug.c
+++ b/plug/hotplug.c
@@ -399,6 +399,7 @@ static void handle_button_timeout(struct uloop_timeout *t)
 
        b = container_of(t, struct button_timeout, timeout);
        blob_buf_init(&button_buf, 0);
+       blobmsg_add_string(&button_buf, "BUTTON", b->name);
        blobmsg_add_string(&button_buf, "ACTION", "timeout");
        snprintf(seen, sizeof(seen), "%d", b->seen);
        blobmsg_add_string(&button_buf, "SEEN", seen);
-- 
2.4.6.89.g851dcf4
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to