projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7cdc64
)
wireless: prepare bridge interfaces before passing them to the setup script
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 3 Dec 2013 14:14:30 +0000
(15:14 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 3 Dec 2013 14:14:30 +0000
(15:14 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
wireless.c
patch
|
blob
|
history
diff --git
a/wireless.c
b/wireless.c
index 6e71fc6f07607d854711fbc9068d30a64e896fc3..3c785f68c22cd532931e63c292700d95019c0380 100644
(file)
--- a/
wireless.c
+++ b/
wireless.c
@@
-76,6
+76,9
@@
vif_config_add_bridge(struct blob_buf *buf, const char *network, bool prepare)
if (dev->type != &bridge_device_type)
return;
+ if (dev->hotplug_ops && dev->hotplug_ops->prepare)
+ dev->hotplug_ops->prepare(dev);
+
blobmsg_add_string(buf, "bridge", dev->ifname);
}