summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/files/lib/wifi/broadcom.sh
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-03-15 23:17:16 +0000
committerMike Baker <mbm@openwrt.org>2007-03-15 23:17:16 +0000
commit568c02662375728abb5b278132e06470c2974a20 (patch)
tree99fbce16166493fb287a341347dcd6dccd3dde72 /package/broadcom-wl/files/lib/wifi/broadcom.sh
parentfbe0b0e33aeaacd30531b0218ae3542f71ab27c7 (diff)
downloadmtk-20170518-568c02662375728abb5b278132e06470c2974a20.zip
mtk-20170518-568c02662375728abb5b278132e06470c2974a20.tar.gz
mtk-20170518-568c02662375728abb5b278132e06470c2974a20.tar.bz2
Enable bridge, disable wifi Easier to deal with "how do I enable wifi" than "why isn't wifi working?"
SVN-Revision: 6570
Diffstat (limited to 'package/broadcom-wl/files/lib/wifi/broadcom.sh')
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index bc3a1f3..bfb1b12 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -243,9 +243,12 @@ detect_broadcom() {
config wifi-device wl0
option type broadcom
option channel 5
+# disable radio to prevent an open ap after reflashing:
+ option radio 0
config wifi-iface
option device wl0
+ option network lan
option mode ap
option ssid OpenWrt
option hidden 0