add wlc commands for setting 802.11d and 802.11h mode, disable both by default (helps...
[openwrt.git] / package / broadcom-wl / files / lib / wifi / broadcom.sh
index 89728c3..71f81a7 100644 (file)
@@ -130,7 +130,7 @@ enable_broadcom() {
                config_get enc "$vif" encryption
                case "$enc" in
                        WEP|wep)
-                               wsec_r=0
+                               wsec_r=1
                                wsec=1
                                defkey=1
                                config_get key "$vif" key
@@ -211,12 +211,14 @@ mssid $mssid
 apsta $apsta
 infra $infra
 ${wet:+wet 1}
+802.11d 0
+802.11h 0
 
 radio ${radio:-1}
 macfilter 0
 maclist none
 wds ${wds:-none}
-channel ${channel:-0}
+${channel:-channel $channel}
 country ${country:-IL0}
 maxassoc ${maxassoc:-128}
 slottime ${slottime:--1}
This page took 0.026835 seconds and 4 git commands to generate.