summaryrefslogtreecommitdiff
path: root/package/madwifi/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 5d4adc5..2635699 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -109,9 +109,12 @@ enable_atheros() {
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
}
- config_get_bool hidden "$vif" hidden
+ config_get_bool hidden "$vif" hidden 0
iwpriv "$ifname" hide_ssid "$hidden"
+ config_get_bool ff "$vif" ff 0
+ iwpriv "$ifname" ff "$ff"
+
config_get wds "$vif" wds
case "$wds" in
1|on|enabled) wds=1;;