From 681d38db3153c8de0269a43ddb38e8bc4e63fdd8 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Sun, 11 Oct 2020 01:29:24 +0200 Subject: [PATCH] luci-base: check support for hostapd wps Check if hostapd supports wps pushbutton features. (wps is now supported by ubus instead of using hostapd_cli) Signed-off-by: Ansuel Smith --- modules/luci-base/root/usr/libexec/rpcd/luci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index 1d46ad276c..8ac6616707 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -219,7 +219,7 @@ local methods = { rv.cabundle = fs.access("/etc/ssl/certs/ca-certificates.crt") rv.relayd = fs.access("/usr/sbin/relayd") - local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192", "wep" } + local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192", "wep", "wps } if fs.access("/usr/sbin/hostapd") then rv.hostapd = { cli = fs.access("/usr/sbin/hostapd_cli") } -- 2.30.2