[OpenWrt-Devel] [PATCH] kmod-batman-adv: Use current /lib/functions/network.sh in hotplug.d scripts

2012-11-23 Thread Gui Iribarren
In legacy ubnt2 devices, when trying to bring 3 VAPs, one in adhoc mode managed with batman-adv, a race condition occurs and /var/state doesn't get the .ifname updated quickly enough at boot time. Using (the newer) ubus call infrastructure overcomes the race condition. Signed-off-by: Gui

Re: [OpenWrt-Devel] [PATCH] kmod-batman-adv: Use current /lib/functions/network.sh in hotplug.d scripts

2012-11-23 Thread Jonh Wendell
hi. why did you include that file twice? is there any reason to not do a single include in the beginning of the the script? 2012/11/23 Gui Iribarren g...@altermundi.net In legacy ubnt2 devices, when trying to bring 3 VAPs, one in adhoc mode managed with batman-adv, a race condition occurs and

Re: [OpenWrt-Devel] [PATCH] kmod-batman-adv: Use current /lib/functions/network.sh in hotplug.d scripts

2012-11-23 Thread Gui Iribarren
On Fri, Nov 23, 2012 at 7:11 AM, Jonh Wendell jonh.wend...@gmail.com wrote: hi. why did you include that file twice? is there any reason to not do a single include in the beginning of the the script? Those two functions differ very little, and could probably be refactored into one, but first