mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix a race condition with broadcom wl devices in a bridge
if a device is added before the bridge is brought up, the wifi settings are lost git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7872 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5268bc8e01
commit
dba4a4c41e
@ -98,6 +98,7 @@ prepare_interface() {
|
||||
} || {
|
||||
$DEBUG brctl addbr "br-$config"
|
||||
$DEBUG brctl setfd "br-$config" 0
|
||||
$DEBUG ifconfig "br-$config" up
|
||||
$DEBUG brctl addif "br-$config" "$iface"
|
||||
# Creating the bridge here will have triggered a hotplug event, which will
|
||||
# result in another setup_interface() call, so we simply stop processing
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user