diff options
Diffstat (limited to 'package/hostap-driver/files/lib/wifi')
-rwxr-xr-x | package/hostap-driver/files/lib/wifi/hostap.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 820a2e7861..1491c6d54a 100755 --- a/package/hostap-driver/files/lib/wifi/hostap.sh +++ b/package/hostap-driver/files/lib/wifi/hostap.sh @@ -39,6 +39,9 @@ scan_prism2() { config_get vifs "$device" vifs local _c=0 for vif in $vifs; do + config_get_bool disabled "$vif" disabled 0 + [ $disabled = 0 ] || continue + config_get mode "$vif" mode case "$mode" in adhoc|sta|ap|monitor) |