mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-22 12:22:46 +01:00
Fix typo in events
This commit is contained in:
parent
b109a0f829
commit
a6fa085394
1 changed files with 2 additions and 1 deletions
|
|
@ -187,7 +187,8 @@ static void bbfdm_event_handler(struct ubus_context *ctx, struct ubus_event_hand
|
|||
blobmsg_add_string(&b, "name", dm_path);
|
||||
generate_blob_input(&bb, type, &pv_list);
|
||||
blobmsg_add_field(&b, BLOBMSG_TYPE_TABLE, "input", blob_data(bb.head), blob_len(bb.head));
|
||||
ubus_send_event(ctx, BBF_EVENT, b.head);
|
||||
ubus_send_event(ctx, method_name, b.head);
|
||||
DEBUG("Event[%s], for [%s] sent", method_name, dm_path);
|
||||
|
||||
blob_buf_free(&bb);
|
||||
blob_buf_free(&b);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue