Files
openwrt/package
Felix Fietkau 4f88e1b6d4 hostapd: ubus wps_cancel ends the push button of one link on request
The ubus object of an AP MLD resolves to one link, the MLD's first BSS
or else its first link (hostapd_ubus_mld_hapd()). wps_start arms the
link that its link_id names, but wps_cancel takes no link_id and acts on
the resolved link. With wps_independent, which is the default,
hostapd_wps_cancel() reaches only that BSS, so a push button armed on
another link stays active until its walk time ends.

wps_cancel takes the optional link_id of wps_start and ends the push
button on that link's BSS; NOT_FOUND where the object has no such link.
get_features reports wps_link_cancel, so that a caller can tell a
hostapd that takes the argument from one that ignores it.

Refresh patches 863 and 869, whose ubus.c hunks moved by 11 lines.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-10-28 14:46:20 +00:00
..