mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-04 23:25:01 +02: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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6939 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7b4b80fe26
commit
80f367f6f1
@ -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