summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-06-18 17:42:10 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-06-18 17:42:10 +0000
commit11d0725b613d93e4a9213fa7596d4f1a6e709450 (patch)
tree9936ea9f0d2ce2e3086877d0e78b1bd1e1d48c66
parente2e80ab38a9101418939a611a4f95ec7306001bf (diff)
downloadmtk-20170518-11d0725b613d93e4a9213fa7596d4f1a6e709450.zip
mtk-20170518-11d0725b613d93e4a9213fa7596d4f1a6e709450.tar.gz
mtk-20170518-11d0725b613d93e4a9213fa7596d4f1a6e709450.tar.bz2
Remove the sleep since we delayed bringing up the interface
SVN-Revision: 11534
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 9288f4d..5adeee4 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -106,7 +106,6 @@ enable_atheros() {
*) agmode=auto;;
esac
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
- sleep 1
iwpriv "$ifname" mode "$agmode"
iwpriv "$ifname" pureg "$pureg"
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null