From: Travis Kemen Date: Wed, 28 Nov 2007 03:07:18 +0000 (+0000) Subject: don't overwrite device default for fast frames closes #2321 X-Git-Tag: reboot~27598 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f30263eea0b36b97c97b8afb506fed52d7cfff3b;p=openwrt%2Fopenwrt.git don't overwrite device default for fast frames closes #2321 SVN-Revision: 9609 --- 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