projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client mode fixes for broadcom wl
[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
27d9ca6
..
397932e
100644
(file)
--- a/
package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/
package/broadcom-wl/files/lib/wifi/broadcom.sh
@@
-2,7
+2,9
@@
append DRIVERS "broadcom"
scan_broadcom() {
local device="$1"
scan_broadcom() {
local device="$1"
- local wds=
+ local wds
+ local adhoc sta apmode
+ local adhoc_if sta_if ap_if
config_get vifs "$device" vifs
for vif in $vifs; do
config_get vifs "$device" vifs
for vif in $vifs; do
@@
-17,7
+19,7
@@
scan_broadcom() {
sta_if="$vif"
;;
ap)
sta_if="$vif"
;;
ap)
- ap=1
+ ap
mode
=1
ap_if="${ap_if:+$ap_if }$vif"
;;
wds)
ap_if="${ap_if:+$ap_if }$vif"
;;
wds)
@@
-46,7
+48,7
@@
scan_broadcom() {
mssid=1
apsta=0
radio=1
mssid=1
apsta=0
radio=1
- case "$adhoc:$sta:$ap" in
+ case "$adhoc:$sta:$ap
mode
" in
1*)
ap=0
mssid=0
1*)
ap=0
mssid=0
@@
-167,8
+169,8
@@
enable_broadcom() {
wlc stdin <<EOF
$ifdown
wlc stdin <<EOF
$ifdown
-mssid $mssid
ap $ap
ap $ap
+mssid $mssid
apsta $apsta
infra $infra
${wet:+wet 1}
apsta $apsta
infra $infra
${wet:+wet 1}
This page took
0.022401 seconds
and
4
git commands to generate.