summaryrefslogtreecommitdiff
path: root/package/madwifi/files
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-04 11:15:12 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-04 11:15:12 +0000
commitcb0f299275af08b2d6c714f96aacae3948e79991 (patch)
treed6d8a59f6308b8d08588ef7a45e5f6fb9589e6ba /package/madwifi/files
parente84d52912732b2bfd82755f308a3e85532392b40 (diff)
clean up default wifi config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7873 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 69506dbde5..46f994ea74 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
}