mirror of https://github.com/hak5/openwrt.git
madwifi: add some extra delay between bringing the interface up and configuring it (#1703)
SVN-Revision: 7729lede-17.01
parent
2cccffcba8
commit
c1366bb46d
|
@ -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