mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
luci-base: add hostapd ocv feature flag
Required for luci to check whether installed hostapd or wpa_supplicant is built with the Operating Channel Validation feature. Signed-off-by: Michael Yartys <mail@yartys.no>
This commit is contained in:
parent
84ffb655b0
commit
c082d458ed
@ -208,7 +208,7 @@ const methods = {
|
||||
relayd: access('/usr/sbin/relayd') == true,
|
||||
};
|
||||
|
||||
const wifi_features = [ 'eap', '11ac', '11ax', '11r', 'acs', 'sae', 'owe', 'suiteb192', 'wep', 'wps' ];
|
||||
const wifi_features = [ 'eap', '11ac', '11ax', '11r', 'acs', 'sae', 'owe', 'suiteb192', 'wep', 'wps', 'ocv' ];
|
||||
|
||||
if (access('/usr/sbin/hostapd')) {
|
||||
result.hostapd = { cli: access('/usr/sbin/hostapd_cli') == true };
|
||||
|
Loading…
Reference in New Issue
Block a user