summaryrefslogtreecommitdiff
path: root/package/broadcom-wl
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-wl')
-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 bc3a1f371b..bfb1b1267b 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