From: John Crispin Date: Wed, 18 Sep 2024 12:43:26 +0000 (+0200) Subject: hostapd: add the ifname to ubus events X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dc48732ea7be380ba44b806ffb1c857e6c2c2a48;p=openwrt%2Fstaging%2Fstintel.git hostapd: add the ifname to ubus events Signed-off-by: John Crispin --- 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)