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

SVN-Revision: 7729
lede-17.01
Felix Fietkau 2007-06-25 10:58:17 +00:00
parent 2cccffcba8
commit c1366bb46d
1 changed files with 1 additions and 0 deletions

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