use config_get_bool for hide_ssid option in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6408 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
f8e0bf987f
commit
f5685b7e3e
|
@ -106,9 +106,9 @@ enable_atheros() {
|
|||
iwpriv "$ifname" pureg "$pureg"
|
||||
iwconfig "$ifname" channel "$channel"
|
||||
}
|
||||
|
||||
config_get hidden "$vif" hidden
|
||||
[ -z "$hidden" ] || iwpriv "$ifname" hide_ssid "$hidden"
|
||||
|
||||
config_get_bool hidden "$vif" hidden
|
||||
iwpriv "$ifname" hide_ssid "$hidden"
|
||||
|
||||
config_get wds "$vif" wds
|
||||
case "$wds" in
|
||||
|
|
Loading…
Reference in New Issue