Repository : ssh://git@open-mesh.org/openwrt-feed-batman-adv
On branch : master
commit fd3d0c5dc54d0b0a91d4f8adfb34a2699dbce5e6 Author: Marek Lindner lindner_marek@yahoo.de Date: Wed Jun 13 11:27:43 2012 +0000
batman-adv-devel: updating to latest master
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
fd3d0c5dc54d0b0a91d4f8adfb34a2699dbce5e6 batman-adv-devel/Makefile | 4 ++-- batman-adv-devel/files/lib/batman-adv/config.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/batman-adv-devel/Makefile b/batman-adv-devel/Makefile index 9c2a6fd..2bb7e36 100644 --- a/batman-adv-devel/Makefile +++ b/batman-adv-devel/Makefile @@ -10,8 +10,8 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=batman-adv-devel
-PKG_BATMAN_REV:=b0f3829d152db3dd98d0bcd894762e4a5788b135 -PKG_BATCTL_REV:=54b7d54c5743bb53cdc8c4d8ef5e033ab40b7c2b +PKG_BATMAN_REV:=c3c748339f605c034bac3317a93e10fc0f8d1d0a +PKG_BATCTL_REV:=3e88396b24c65bc438be54e80f930a728ab5c65b
PKG_BATMAN_BRANCH:=$(subst ",,$(CONFIG_KMOD_BATMAN_ADV_DEVEL_BRANCH_NAME)) PKG_BATMAN_SHORTREV:=$(shell echo $(PKG_BATMAN_REV) | cut -c1-7) diff --git a/batman-adv-devel/files/lib/batman-adv/config.sh b/batman-adv-devel/files/lib/batman-adv/config.sh index f15bd7c..b1bb1f3 100644 --- a/batman-adv-devel/files/lib/batman-adv/config.sh +++ b/batman-adv-devel/files/lib/batman-adv/config.sh @@ -26,6 +26,8 @@ bat_config() config_get ap_isolation "$mesh" ap_isolation config_get bridge_loop_avoidance "$mesh" bridge_loop_avoidance
+ [ ! -f "/sys/class/net/$mesh/mesh/orig_interval" ] && echo "batman-adv mesh $mesh does not exist - check your interface configuration" && return 1 + [ -n "$orig_interval" ] && echo $orig_interval > /sys/class/net/$mesh/mesh/orig_interval [ -n "$hop_penalty" ] && echo $hop_penalty > /sys/class/net/$mesh/mesh/hop_penalty [ -n "$log_level" ] && echo $log_level > /sys/class/net/$mesh/mesh/log_level 2>&-