projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe4422
)
broadcom-wl: bring interfaces up, do not rely on netifd doing it
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 May 2014 05:00:57 +0000
(
05:00
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 May 2014 05:00:57 +0000
(
05:00
+0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40749
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
patch
|
blob
|
history
diff --git
a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
index
614db0c
..
ba31518
100644
(file)
--- a/
package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/
package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
@@
-358,6
+358,7
@@
enable_broadcom() {
[ "$ifname" != "${ifname##${device}-}" ] && if_cmd="if_up"
append $if_cmd "macaddr=\$(wlc ifname '$ifname' cur_etheraddr)" ";$N"
append $if_cmd "ifconfig '$ifname' \${macaddr:+hw ether \$macaddr}" ";$N"
+ append if_up "ifconfig '$ifname' up" ";$N"
local net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {