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:
Michael Yartys 2024-03-02 21:21:32 +01:00 committed by Paul Donald
parent 84ffb655b0
commit c082d458ed

View File

@ -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 };