mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
luci-base: extend luci WiFi features checks
sort list include mesh Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -243,7 +243,21 @@ const methods = {
|
||||
netifd_vrf: false,
|
||||
};
|
||||
|
||||
const wifi_features = [ 'eap', '11ac', '11ax', '11be', '11r', 'acs', 'sae', 'owe', 'suiteb192', 'wep', 'wps', 'ocv' ];
|
||||
const wifi_features = [
|
||||
'11ac',
|
||||
'11ax',
|
||||
'11be',
|
||||
'11r',
|
||||
'acs',
|
||||
'eap',
|
||||
'mesh',
|
||||
'ocv',
|
||||
'owe',
|
||||
'sae',
|
||||
'suiteb192',
|
||||
'wep',
|
||||
'wps',
|
||||
];
|
||||
|
||||
if (access('/usr/sbin/hostapd')) {
|
||||
result.hostapd = { cli: access('/usr/sbin/hostapd_cli') == true };
|
||||
|
||||
Reference in New Issue
Block a user