projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
711885a
)
hostapd: add ifname to generic ubus notify code
author
John Crispin
<john@phrozen.org>
Wed, 18 Sep 2024 13:21:27 +0000
(15:21 +0200)
committer
John Crispin
<john@phrozen.org>
Wed, 2 Oct 2024 13:19:34 +0000
(15:19 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
package/network/services/hostapd/src/src/ap/ubus.c
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/src/src/ap/ubus.c
b/package/network/services/hostapd/src/src/ap/ubus.c
index d84d41f930d54841a32944ab27c9ec3dcbc94311..4dda2b0571e53e176e708b4f7b4c6dba0f85eb53 100644
(file)
--- 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);
}