madwifi: add some extra delay between bringing the interface up and configuring it (#1703)

SVN-Revision: 7729
This commit is contained in:
Felix Fietkau 2007-06-25 10:58:17 +00:00
parent 2cccffcba8
commit c1366bb46d

View File

@ -104,6 +104,7 @@ enable_atheros() {
esac esac
iwconfig "$ifname" channel 0 >/dev/null 2>/dev/null iwconfig "$ifname" channel 0 >/dev/null 2>/dev/null
ifconfig "$ifname" up ifconfig "$ifname" up
sleep 1
iwpriv "$ifname" mode "$agmode" iwpriv "$ifname" mode "$agmode"
iwpriv "$ifname" pureg "$pureg" iwpriv "$ifname" pureg "$pureg"
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null