projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow dhcp sections for dnsmasq to add command line options
[openwrt.git]
/
package
/
broadcom-wl
/
files
/
lib
/
wifi
/
broadcom.sh
diff --git
a/package/broadcom-wl/files/lib/wifi/broadcom.sh
b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index
d423288
..
baa06f5
100644
(file)
--- a/
package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/
package/broadcom-wl/files/lib/wifi/broadcom.sh
@@
-178,7
+178,7
@@
enable_broadcom() {
append vif_post_up "eap_restrict $eap_r" "$N"
config_get ssid "$vif" ssid
append vif_post_up "eap_restrict $eap_r" "$N"
config_get ssid "$vif" ssid
- append vif_post_up "vlan_mode 0"
+ append vif_post_up "vlan_mode 0"
"$N"
append vif_post_up "ssid $ssid" "$N"
case "$mode" in
sta|adhoc) append vif_do_up "ssid $ssid" "$N";;
append vif_post_up "ssid $ssid" "$N"
case "$mode" in
sta|adhoc) append vif_do_up "ssid $ssid" "$N";;
@@
-211,12
+211,14
@@
mssid $mssid
apsta $apsta
infra $infra
${wet:+wet 1}
apsta $apsta
infra $infra
${wet:+wet 1}
+802.11d 0
+802.11h 0
radio ${radio:-1}
macfilter 0
maclist none
wds ${wds:-none}
radio ${radio:-1}
macfilter 0
maclist none
wds ${wds:-none}
-${channel:
-
channel $channel}
+${channel:
+
channel $channel}
country ${country:-IL0}
maxassoc ${maxassoc:-128}
slottime ${slottime:--1}
country ${country:-IL0}
maxassoc ${maxassoc:-128}
slottime ${slottime:--1}
@@
-241,9
+243,12
@@
detect_broadcom() {
config wifi-device wl0
option type broadcom
option channel 5
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
config wifi-iface
option device wl0
+ option network lan
option mode ap
option ssid OpenWrt
option hidden 0
option mode ap
option ssid OpenWrt
option hidden 0
This page took
0.023029 seconds
and
4
git commands to generate.