summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2007-11-28 03:07:18 +0000
committerTravis Kemen <thepeople@openwrt.org>2007-11-28 03:07:18 +0000
commitf30263eea0b36b97c97b8afb506fed52d7cfff3b (patch)
tree51a225788f9397155b6cd0dd4a037570de410b2d /package
parentdf42216881696556c2dcadc63435cf14462c5fd1 (diff)
downloadmtk-20170518-f30263eea0b36b97c97b8afb506fed52d7cfff3b.zip
mtk-20170518-f30263eea0b36b97c97b8afb506fed52d7cfff3b.tar.gz
mtk-20170518-f30263eea0b36b97c97b8afb506fed52d7cfff3b.tar.bz2
don't overwrite device default for fast frames closes #2321
SVN-Revision: 9609
Diffstat (limited to 'package')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 41a25a4..83f35ab 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -114,8 +114,10 @@ enable_atheros() {
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 ff "$vif" ff
+ if [ -n "$ff" ]; then
+ iwpriv "$ifname" ff "$ff"
+ fi
config_get wds "$vif" wds
case "$wds" in