Remove the sleep since we delayed bringing up the interface
authorFlorian Fainelli <florian@openwrt.org>
Wed, 18 Jun 2008 17:42:10 +0000 (17:42 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 18 Jun 2008 17:42:10 +0000 (17:42 +0000)
SVN-Revision: 11534

package/madwifi/files/lib/wifi/madwifi.sh

index 9288f4d9e911b482a9e5d2028ab59950d4370dba..5adeee44be32651b2ed0a51d3cf0af99163a9346 100755 (executable)
@@ -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