diff options
author | Travis Kemen <thepeople@openwrt.org> | 2007-11-28 03:07:18 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2007-11-28 03:07:18 +0000 |
commit | 9e7e0ecbd4dde533409a3c6840b202e25245e79d (patch) | |
tree | 144b3daeea87524b5f728c2527e168576f5793dc /package/madwifi/files/lib/wifi/madwifi.sh | |
parent | 34ade10d04b16482762ecdf13f20d2d39054c6c3 (diff) | |
download | master-187ad058-9e7e0ecbd4dde533409a3c6840b202e25245e79d.tar.gz master-187ad058-9e7e0ecbd4dde533409a3c6840b202e25245e79d.tar.bz2 master-187ad058-9e7e0ecbd4dde533409a3c6840b202e25245e79d.zip |
don't overwrite device default for fast frames closes #2321
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9609 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 6 |
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 41a25a400f..83f35ab64e 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 |