Remove the sleep since we delayed bringing up the interface

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11534 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2008-06-18 17:42:10 +00:00
parent 7362b16c02
commit e5cf5c1561

View File

@@ -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