[source] ltq-xdsl-app: drop esi call

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 7 01:50:27 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/a94555ce2454f69845bfc194245dbf0e71704cb3

commit a94555ce2454f69845bfc194245dbf0e71704cb3
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Thu Aug 3 21:11:57 2017 +0200

    ltq-xdsl-app: drop esi call
    
    The esi call was added to workaround a race condition between applying
    a configured mac address to the wan interface and starting the protocol
    (handler) as it was observed in a DHCP over ATM bridge configuration.
    
    Martin Schiller, TDT GmbH was so kind to test with their local
    infrastructure if the race condition still exists. The provided package
    dumps captured behind the DSLAM shows that it doesn't. It was most
    likely fixed with adding carrier support to the lantiq ptm/atm driver.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 package/network/config/ltq-adsl-app/files/dsl_control              | 2 --
 package/network/config/ltq-vdsl-app/Makefile                       | 2 +-
 package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control
index dcde6b2..8218186 100644
--- a/package/network/config/ltq-adsl-app/files/dsl_control
+++ b/package/network/config/ltq-adsl-app/files/dsl_control
@@ -45,8 +45,6 @@ start() {
 		return 1
 	}
 
-	esi $(printf '%012X' $((1+0x$(tr -d : </sys/class/net/eth0/address))))
-
 	service_start /sbin/dsl_cpe_control -i${xtu} \
 			-n /sbin/dsl_notify.sh \
 			-f ${firmware}
diff --git a/package/network/config/ltq-vdsl-app/Makefile b/package/network/config/ltq-vdsl-app/Makefile
index 1ddb83a..815f89c 100644
--- a/package/network/config/ltq-vdsl-app/Makefile
+++ b/package/network/config/ltq-vdsl-app/Makefile
@@ -28,7 +28,7 @@ define Package/ltq-vdsl-app
   CATEGORY:=Network
   TITLE:=Lantiq VDSL userland tool
   URL:=http://www.lantiq.com/
-  DEPENDS:=@TARGET_lantiq_xrx200 +libpthread +librt +atm-esi
+  DEPENDS:=@TARGET_lantiq_xrx200 +libpthread +librt
 endef
 
 define Package/ltq-vdsl-app/description
diff --git a/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper b/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper
index cc127f7..8e7c1cb 100644
--- a/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper
+++ b/package/network/config/ltq-vdsl-app/files/vdsl_cpe_control_wrapper
@@ -7,5 +7,4 @@ for mod in $LOAD; do
 	grep -q "$mod " /proc/modules || insmod "$mod"
 done
 
-esi $(printf '%012X' $((1+0x$(tr -d : </sys/class/net/eth0/address))))
 exec /sbin/vdsl_cpe_control "$@"



More information about the lede-commits mailing list