mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
madwifi: add some extra delay between bringing the interface up and configuring it (#1703)
SVN-Revision: 7729
This commit is contained in:
parent
2cccffcba8
commit
c1366bb46d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user