madwifi: add some extra delay between bringing the interface up and configuring it (#1703)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7729 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
d3c25dfdc6
commit
0459ba37f3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue