summaryrefslogtreecommitdiff
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-15 00:10:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-15 00:10:00 +0000
commit522199f7ef456c43286bca6fff6413697b680c67 (patch)
tree769b85878f6e2b5ed4dee1cc7edbe888e0fc398a /package/madwifi/files/lib/wifi
parent7cb45c3be851b1f8e8c97c4e39794371e5913b63 (diff)
downloadmtk-20170518-522199f7ef456c43286bca6fff6413697b680c67.zip
mtk-20170518-522199f7ef456c43286bca6fff6413697b680c67.tar.gz
mtk-20170518-522199f7ef456c43286bca6fff6413697b680c67.tar.bz2
fix a small typo
SVN-Revision: 6104
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 5701485..68fa325 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"
}