From dc48732ea7be380ba44b806ffb1c857e6c2c2a48 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 18 Sep 2024 14:43:26 +0200 Subject: [PATCH] hostapd: add the ifname to ubus events Signed-off-by: John Crispin --- 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 f21516fc3c..2d9a48d368 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -1783,6 +1783,7 @@ int hostapd_ubus_handle_event(struct hostapd_data *hapd, struct hostapd_ubus_req blob_buf_init(&b, 0); blobmsg_add_macaddr(&b, "address", addr); + blobmsg_add_string(&b, "ifname", hapd->conf->iface); if (req->mgmt_frame) blobmsg_add_macaddr(&b, "target", req->mgmt_frame->da); if (req->ssi_signal) -- 2.30.2