X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=plug%2Fhotplug.c;h=b5ebd07467b1376a5434a080c9c25f59249d2562;hp=0c97e4dce4efecbc6a6b9d34cfd22b34fb308436;hb=3de9e0accfb691599c938eb1a040476c77fc423e;hpb=370b68a9c3514ecb2fb6b814ba58e4e41f4f26c0 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);