mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 09:24:50 +00:00
Delay bringing up the interface because some cards requires setting the mode before bringing it up (#3541)
SVN-Revision: 11533
This commit is contained in:
parent
e2b679fd3f
commit
e2e80ab38a
@ -106,11 +106,11 @@ enable_atheros() {
|
|||||||
*) agmode=auto;;
|
*) agmode=auto;;
|
||||||
esac
|
esac
|
||||||
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
|
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
|
||||||
ifconfig "$ifname" up
|
|
||||||
sleep 1
|
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
|
||||||
|
ifconfig "$ifname" up
|
||||||
}
|
}
|
||||||
|
|
||||||
config_get_bool hidden "$vif" hidden 0
|
config_get_bool hidden "$vif" hidden 0
|
||||||
|
Loading…
Reference in New Issue
Block a user