Skip to content

Commit

Permalink
hostapd: add ifname to generic ubus notify code
Browse files Browse the repository at this point in the history
Signed-off-by: John Crispin <[email protected]>
  • Loading branch information
blogic committed Oct 2, 2024
1 parent 711885a commit dd62f76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/network/services/hostapd/src/src/ap/ubus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,7 @@ void hostapd_ubus_notify(struct hostapd_data *hapd, const char *type, const u8 *

blob_buf_init(&b, 0);
blobmsg_add_macaddr(&b, "address", addr);
blobmsg_add_string(&b, "ifname", hapd->conf->iface);

ubus_notify(ctx, &hapd->ubus.obj, type, b.head, -1);
}
Expand Down

0 comments on commit dd62f76

Please sign in to comment.