From 80f367f6f1397da8b04bb488a9fc4ed91ddef208 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 12 Apr 2007 17:34:21 +0000 Subject: 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 --- package/madwifi/files/lib/wifi/madwifi.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'package/madwifi/files') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 89ab83d8f..1dce76715 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -181,6 +181,7 @@ enable_atheros() { fi ifconfig "$ifname" up + iwconfig "$ifname" channel "$channel" local net_cfg bridge net_cfg="$(find_net_config "$vif")" -- cgit v1.2.3