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
iwconfig "$ifname" channel 0 >/dev/null 2>/dev/null
ifconfig "$ifname" up
sleep 1
iwpriv "$ifname" mode "$agmode"
iwpriv "$ifname" pureg "$pureg"
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null