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
master
Felix Fietkau 2007-04-12 17:34:21 +00:00
parent b5a2c2c241
commit 7fbae2f84f
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ enable_atheros() {
fi
ifconfig "$ifname" up
iwconfig "$ifname" channel "$channel"
local net_cfg bridge
net_cfg="$(find_net_config "$vif")"