]> git.ipfire.org Git - thirdparty/openwrt.git/commit
hostapd: ubus: fix beacon request reporting detail field size
authorFelix Fietkau <nbd@nbd.name>
Wed, 18 Mar 2026 15:58:52 +0000 (15:58 +0000)
committerFelix Fietkau <nbd@nbd.name>
Thu, 19 Mar 2026 09:57:07 +0000 (10:57 +0100)
commitc5564ba071904cbbfe078f15b525676dba1cccab
tree913fb469304756781cb179c2bbc74502764bb836
parent0208089ded6fe7dd77344358b3a56c4494064964
hostapd: ubus: fix beacon request reporting detail field size

The Reporting Detail value is a 1-byte field, but was written as le16,
producing a 2-byte write that also contradicts the length field of 1
in the subelement header.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ubus.c