From: Ansuel Smith Date: Sat, 10 Oct 2020 23:29:24 +0000 (+0200) Subject: luci-base: check support for hostapd wps X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=681d38db3153c8de0269a43ddb38e8bc4e63fdd8;p=project%2Fluci.git 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 --- 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") }