[openwrt/openwrt] ltq-vdsl-vr9-app: fix error handling during disconnection

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 31 10:51:25 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/df6284b079c2576f0626e66d753228ffa0f53817

commit df6284b079c2576f0626e66d753228ffa0f53817
Author: Jan Hoffmann <jan at 3e8.eu>
AuthorDate: Fri Jul 12 15:49:49 2024 +0200

    ltq-vdsl-vr9-app: fix error handling during disconnection
    
    Use the correct return value in error message.
    
    Fixes: 1daaef31b352 ("ltq-vdsl-app: disconnect when service is stopped")
    Signed-off-by: Jan Hoffmann <jan at 3e8.eu>
---
 package/network/config/ltq-vdsl-vr9-app/Makefile                   | 2 +-
 package/network/config/ltq-vdsl-vr9-app/patches/200-autoboot.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/config/ltq-vdsl-vr9-app/Makefile b/package/network/config/ltq-vdsl-vr9-app/Makefile
index c51489e2c5..e2042bf314 100644
--- a/package/network/config/ltq-vdsl-vr9-app/Makefile
+++ b/package/network/config/ltq-vdsl-vr9-app/Makefile
@@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=ltq-vdsl-vr9-app
 PKG_VERSION:=4.17.18.6
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 PKG_BASE_NAME:=dsl_cpe_control
 PKG_SOURCE:=$(PKG_BASE_NAME)_vrx-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@OPENWRT
diff --git a/package/network/config/ltq-vdsl-vr9-app/patches/200-autoboot.patch b/package/network/config/ltq-vdsl-vr9-app/patches/200-autoboot.patch
index cc6feb94aa..d949162f58 100644
--- a/package/network/config/ltq-vdsl-vr9-app/patches/200-autoboot.patch
+++ b/package/network/config/ltq-vdsl-vr9-app/patches/200-autoboot.patch
@@ -60,7 +60,7 @@ a state where an explicit start command is necessary to connect again.
 +      {
 +         DSL_CCA_DEBUG(DSL_CCA_DBG_ERR, (DSL_CPE_PREFIX
 +            "Autoboot configuration for device (%d) failed!, nRet = %d!"
-+            DSL_CPE_CRLF, nDevice, sAutobootCtl.accessCtl.nReturn));
++            DSL_CPE_CRLF, nDevice, sAutobootCfg.accessCtl.nReturn));
 +      }
 +
 +      memset(&sAutobootCtl, 0, sizeof(DSL_AutobootControl_t));




More information about the lede-commits mailing list