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 9288f4d..5adeee4 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