summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-15 00:10:00 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-15 00:10:00 +0000
commit6f5747f622d3f5a690e2d36e5dc06e622770f804 (patch)
treefad735c53f698968918c5d40d61585440a9ed489 /package/madwifi/files/lib/wifi
parent9a4d3ef3e0b28c368223b5134c718573871ccc4f (diff)
fix a small typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6104 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 5701485f1..68fa3258e 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -102,7 +102,7 @@ enable_atheros() {
*) agmode=11g;;
esac
iwconfig "$ifname" channel 0
- iwpriv "$ifname" agmode "$agmode"
+ iwpriv "$ifname" mode "$agmode"
iwpriv "$ifname" pureg "$pureg"
iwconfig "$ifname" channel "$channel"
}