diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-22 08:02:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-22 08:02:59 +0000 |
commit | 88e7da2babd4cc61032f2047525cfd1c56d09068 (patch) | |
tree | 51b4c36449ec4a005ffec713c74f90ec4f6d9ac7 /package/madwifi/files/lib/wifi | |
parent | a5546e6c40074a4c95b7bcf192a68e95e87ad306 (diff) | |
download | upstream-88e7da2babd4cc61032f2047525cfd1c56d09068.tar.gz upstream-88e7da2babd4cc61032f2047525cfd1c56d09068.tar.bz2 upstream-88e7da2babd4cc61032f2047525cfd1c56d09068.zip |
nuke old madwifi init script, add new /lib/wifi handler (usable for many configurations already), fix up a target name
SVN-Revision: 5889
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index de9870ce65..dd030ba169 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;; |