projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/fuse: add workaround for uClibc 0.9.29 issues, fixes owfs and possibly others
[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
aa8258d
..
e0d741b
100644
(file)
--- a/
package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/
package/broadcom-wl/files/lib/wifi/broadcom.sh
@@
-123,8
+123,7
@@
enable_broadcom() {
config_get macfilter "$device" macfilter
config_get maclist "$device" maclist
config_get macaddr "$device" macaddr
config_get macfilter "$device" macfilter
config_get maclist "$device" maclist
config_get macaddr "$device" macaddr
- config_get txpower "$device" txpower
- local vif_pre_up vif_post_up vif_do_up
+ local vif_pre_up vif_post_up vif_do_up txpower
_c=0
nas="$(which nas)"
_c=0
nas="$(which nas)"
@@
-153,6
+152,8
@@
enable_broadcom() {
esac
for vif in $vifs; do
esac
for vif in $vifs; do
+ config_get txpower "$vif" txpower
+
config_get mode "$vif" mode
append vif_pre_up "vif $_c" "$N"
append vif_post_up "vif $_c" "$N"
config_get mode "$vif" mode
append vif_pre_up "vif $_c" "$N"
append vif_post_up "vif $_c" "$N"
@@
-236,7
+237,7
@@
enable_broadcom() {
config_get ifname "$vif" ifname
#append if_up "ifconfig $ifname up" ";$N"
config_get ifname "$vif" ifname
#append if_up "ifconfig $ifname up" ";$N"
- [ -z "$macaddr" ] || append if_up "ifconfig $ifname hw ether $macaddr" ";$N"
+
local net_cfg bridge
net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {
local net_cfg bridge
net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {
This page took
0.02469 seconds
and
4
git commands to generate.