From 2ba38d3a60cb90dc4f5b3cc47e33d10b993a97a6 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 22 Dec 2006 08:02:59 +0000 Subject: nuke old madwifi init script, add new /lib/wifi handler (usable for many configurations already), fix up a target name git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5889 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/madwifi/files/lib') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index de9870ce6..dd030ba16 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -154,6 +154,9 @@ enable_atheros() { } config_set "$vif" ifname "$ifname" + config_get "$device" mode + iwpriv "$ifname" mode "${mode:-11g}" + config_get wds "$vif" wds case "$wds" in 1|on|enabled) wds=1;; -- cgit v1.2.3