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 <nbd@nbd.name>
This commit is contained in:
parent
a34c3baf56
commit
1d98101743
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user