hostapd: ubus: add handler for wps_status and guard WPS calls
authorDaniel Golle <daniel@makrotopia.org>
Sat, 10 Oct 2020 22:04:13 +0000 (23:04 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 15 Oct 2020 23:38:06 +0000 (00:38 +0100)
commit63e2e086bea2280fee47385e172d09e4eb86fc78
tree7da8fe5729aaea745044cb9bb6a2b4aab2eb57e8
parent5666ca913a879e499dabb7364fff5e080abe8819
hostapd: ubus: add handler for wps_status and guard WPS calls

Expose WPS ubus API only if compiled with WPS support and add new
handler for wps_status call.
Also add '-v wps' option to check whether WPS support is present in
hostapd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/network/services/hostapd/Makefile
package/network/services/hostapd/src/src/ap/ubus.c
package/network/services/hostapd/src/src/utils/build_features.h