mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
ltq-vdsl-vr11-app: fix error handling during disconnection
Use the correct return value in error message.
Fixes: 6e4c9738be
("ltq-vdsl-vr11-app: add version 4.23.1 for vr11 targets")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
This commit is contained in:
parent
df6284b079
commit
a78ad43d1d
@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
|
|
||||||
PKG_NAME:=ltq-vdsl-vr11-app
|
PKG_NAME:=ltq-vdsl-vr11-app
|
||||||
PKG_VERSION:=4.23.1
|
PKG_VERSION:=4.23.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
PKG_BASE_NAME:=dsl_cpe_control
|
PKG_BASE_NAME:=dsl_cpe_control
|
||||||
|
|
||||||
UGW_VERSION=8.5.2.10
|
UGW_VERSION=8.5.2.10
|
||||||
|
@ -51,7 +51,7 @@ start it again later, short of unloading and reloading the module.
|
|||||||
+ {
|
+ {
|
||||||
+ DSL_CCA_DEBUG(DSL_CCA_DBG_ERR, (DSL_CPE_PREFIX
|
+ DSL_CCA_DEBUG(DSL_CCA_DBG_ERR, (DSL_CPE_PREFIX
|
||||||
+ "Autoboot configuration for device (%d) failed!, nRet = %d!"
|
+ "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));
|
memset(&sAutobootCtl, 0, sizeof(DSL_AutobootControl_t));
|
||||||
|
Loading…
Reference in New Issue
Block a user