aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-02 02:22:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-02 02:22:01 +0000
commit47ecff5cf8e907af397624a3bf09ba2a293053a8 (patch)
treeefce325f9c067338a32d1df74f26e1cfb6b97ccd /package/madwifi/files/lib
parente19eb3d8286ad66f455721f8b7f8260bce5e4016 (diff)
downloadupstream-47ecff5cf8e907af397624a3bf09ba2a293053a8.tar.gz
upstream-47ecff5cf8e907af397624a3bf09ba2a293053a8.tar.bz2
upstream-47ecff5cf8e907af397624a3bf09ba2a293053a8.zip
madwifi update: include upstream fixes for ff handling, disable ff by default (not reliable enough), wpa in ap mode should be working now
SVN-Revision: 7440
Diffstat (limited to 'package/madwifi/files/lib')
-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 5d4adc58ff..2635699adb 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;;