aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files-network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:12 +0000
commit1e20e3114ab8430b18bb0b9fd59df0b267256587 (patch)
tree838374943559d3b936fd643260835e59c568473f /package/base-files-network
parentbbb6f7a82df22bbdaed1b4515229f1e234ab14cd (diff)
downloadupstream-1e20e3114ab8430b18bb0b9fd59df0b267256587.tar.gz
upstream-1e20e3114ab8430b18bb0b9fd59df0b267256587.tar.bz2
upstream-1e20e3114ab8430b18bb0b9fd59df0b267256587.zip
netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files-network')
-rwxr-xr-xpackage/base-files-network/files/lib/network/config.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files-network/files/lib/network/config.sh b/package/base-files-network/files/lib/network/config.sh
index 29d021af92..74810e47d0 100755
--- a/package/base-files-network/files/lib/network/config.sh
+++ b/package/base-files-network/files/lib/network/config.sh
@@ -145,6 +145,10 @@ sort_list() {
) | sort -u
}
+prepare_interface_bridge() {
+ return 0
+}
+
# Create the interface, if necessary.
# Return status 0 indicates that the setup_interface() call should continue
# Return status 1 means that everything is set up already.