From 1d981017437b25d72deca3a48514e97178c06f46 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 19 Mar 2026 09:38:21 +0000 Subject: [PATCH] hostapd: ubus: add missing token to beacon report notification The beacon measurement token was not included in the ubus beacon-report notification, causing consumers that need the token (e.g. for constructing Beacon Metrics Response TLVs) to receive null. Signed-off-by: Felix Fietkau --- 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 748690c5c3..bd35f797ae 100644 --- a/package/network/services/hostapd/src/src/ap/ubus.c +++ b/package/network/services/hostapd/src/src/ap/ubus.c @@ -2019,6 +2019,7 @@ void hostapd_ubus_notify_beacon_report( blob_buf_init(&b, 0); blobmsg_add_macaddr(&b, "address", addr); + blobmsg_add_u32(&b, "token", token); blobmsg_add_u16(&b, "op-class", rep->op_class); blobmsg_add_u16(&b, "channel", rep->channel); blobmsg_add_u64(&b, "start-time", rep->start_time);