diff options
author | John Crispin <john@phrozen.org> | 2024-09-18 14:43:26 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2024-10-02 15:19:21 +0200 |
commit | dc48732ea7be380ba44b806ffb1c857e6c2c2a48 (patch) | |
tree | 902436c71cfe8f32e4e58d3b843d2a126d57dac4 | |
parent | 8bfea41eefd43fcfa9be40cb95e27e8daeafaca4 (diff) | |
download | openwrt-dc48732ea7be380ba44b806ffb1c857e6c2c2a48.tar.gz openwrt-dc48732ea7be380ba44b806ffb1c857e6c2c2a48.tar.bz2 openwrt-dc48732ea7be380ba44b806ffb1c857e6c2c2a48.zip |
hostapd: add the ifname to ubus events
Signed-off-by: John Crispin <john@phrozen.org>
-rw-r--r-- | package/network/services/hostapd/src/src/ap/ubus.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |