Browse Source

hostapd: add the ifname to ubus events

Signed-off-by: John Crispin <[email protected]>
John Crispin 1 year ago
parent
commit
dc48732ea7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/network/services/hostapd/src/src/ap/ubus.c

+ 1 - 0
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)