[openwrt/openwrt] hostapd: add ifname to generic ubus notify code
LEDE Commits
lede-commits at lists.infradead.org
Wed Oct 2 06:20:28 PDT 2024
blogic pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/dd62f7659b38602dfbefc8894a66c13930b872d1
commit dd62f7659b38602dfbefc8894a66c13930b872d1
Author: John Crispin <john at phrozen.org>
AuthorDate: Wed Sep 18 15:21:27 2024 +0200
hostapd: add ifname to generic ubus notify code
Signed-off-by: John Crispin <john at phrozen.org>
---
package/network/services/hostapd/src/src/ap/ubus.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package/network/services/hostapd/src/src/ap/ubus.c
index d84d41f930..4dda2b0571 100644
--- a/package/network/services/hostapd/src/src/ap/ubus.c
+++ b/package/network/services/hostapd/src/src/ap/ubus.c
@@ -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);
}
More information about the lede-commits
mailing list