summaryrefslogtreecommitdiff
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-07-04 11:15:12 +0000
committerMike Baker <mbm@openwrt.org>2007-07-04 11:15:12 +0000
commit31ea6879d75068d42d0f4c77c7e23ea5a6f81d3d (patch)
tree6c68f99157b00806a8b5e273188e38fd53a80040 /package/madwifi/files
parent5b52ebfcb1878065f18c68edaa9a38a462ea2bdd (diff)
downloadmtk-20170518-31ea6879d75068d42d0f4c77c7e23ea5a6f81d3d.zip
mtk-20170518-31ea6879d75068d42d0f4c77c7e23ea5a6f81d3d.tar.gz
mtk-20170518-31ea6879d75068d42d0f4c77c7e23ea5a6f81d3d.tar.bz2
clean up default wifi config
SVN-Revision: 7873
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 69506db..46f994e 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -262,26 +262,16 @@ detect_atheros() {
config wifi-device $dev
option type atheros
option channel 5
-# option diversity 1
-# option txantenna 0
-# option rxantenna 0
-# option distance 2000
-# disable radio to prevent an open ap after reflashing:
- option disabled 1
+ # REMOVE THIS LINE TO ENABLE WIFI:
+ option disabled 1
config wifi-iface
option device $dev
option network lan
option mode ap
option ssid OpenWrt
- option hidden 0
-# option txpower 15
-# option bgscan enable
-# option frag off
-# option rts off
option encryption none
-
EOF
done
}