Fix dependencies and build (#1849)
[openwrt.git] / package / broadcom-wl / files / lib / wifi / broadcom.sh
index bc3a1f3..6a38d03 100644 (file)
@@ -116,9 +116,9 @@ enable_broadcom() {
                append vif_post_up "vif $_c" "$N"
                
                [ "$mode" = "sta" ] || {
-                       config_get_bool hidden "$vif" hidden 1
+                       config_get_bool hidden "$vif" hidden 0
                        append vif_pre_up "closed $hidden" "$N"
-                       config_get_bool isolate "$vif" isolate
+                       config_get_bool isolate "$vif" isolate 0
                        append vif_pre_up "ap_isolate $isolate" "$N"
                }
 
@@ -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 disabled 1
 
 config wifi-iface
        option device   wl0
+       option network  lan
        option mode     ap
        option ssid     OpenWrt
        option hidden   0
This page took 0.033294 seconds and 4 git commands to generate.