batman-adv: fix race condition between iface add and iface up
Signed-off-by: Gui Iribarren <gui@altermundi.net> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@34385 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -48,7 +48,6 @@ bat_add_interface()
|
||||
local interface="$2"
|
||||
local interfaces
|
||||
|
||||
sleep 3s # some device (ath) is very lazy to start
|
||||
config_get interfaces $mesh interfaces
|
||||
for iface in $interfaces; do
|
||||
[ -f "/sys/class/net/$iface/batman_adv/mesh_iface" ] || {
|
||||
|
Reference in New Issue
Block a user