mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
madwifi init: set the channel after bringing up the interface (sometimes it needs the channel before bringing up the interface, sometimes after, no idea what's going on)
SVN-Revision: 6939
This commit is contained in:
parent
72d4a76ab7
commit
c38691f291
@ -181,6 +181,7 @@ enable_atheros() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ifconfig "$ifname" up
|
ifconfig "$ifname" up
|
||||||
|
iwconfig "$ifname" channel "$channel"
|
||||||
|
|
||||||
local net_cfg bridge
|
local net_cfg bridge
|
||||||
net_cfg="$(find_net_config "$vif")"
|
net_cfg="$(find_net_config "$vif")"
|
||||||
|
Loading…
Reference in New Issue
Block a user