lantiq: move dsl tools to package/network/config
[openwrt/staging/chunkeey.git] / package / network / config / ltq-vdsl-app / patches / 100-compat.patch
1 Index: dsl_cpe_control-4.11.4/src/dsl_cpe_init_cfg.c
2 ===================================================================
3 --- dsl_cpe_control-4.11.4.orig/src/dsl_cpe_init_cfg.c 2011-10-26 00:35:26.000000000 +0200
4 +++ dsl_cpe_control-4.11.4/src/dsl_cpe_init_cfg.c 2012-11-28 15:53:10.857692092 +0100
5 @@ -43,7 +43,7 @@
6 {
7 DSL_CPE_LL_CFG_SET(-1, -1, DSL_DEV_HS_TONE_GROUP_VDSL2_B43, \
8 DSL_DEV_HS_TONE_GROUP_VDSL2_B43, DSL_DEV_HS_TONE_GROUP_VDSL2_B43, \
9 - 0x1E116000, 0x37, -1),
10 + 0x1E116000, 0x3f, -1),
11 #endif
12
13 #if defined(INCLUDE_DSL_CPE_API_VINAX)
14 Index: dsl_cpe_control-4.11.4/src/dsl_cpe_control.c
15 ===================================================================
16 --- dsl_cpe_control-4.11.4.orig/src/dsl_cpe_control.c 2012-01-13 15:15:34.000000000 +0100
17 +++ dsl_cpe_control-4.11.4/src/dsl_cpe_control.c 2012-11-28 15:53:23.465692408 +0100
18 @@ -6432,7 +6432,7 @@
19 for (nDevice = 0; nDevice < DSL_CPE_MAX_DEVICE_NUMBER; nDevice++)
20 {
21 #if defined(INCLUDE_DSL_CPE_API_VINAX) || defined(INCLUDE_DSL_CPE_API_VRX)
22 - sprintf (device, "%s/%d", DSL_CPE_DEVICE_NAME, nDevice);
23 + sprintf (device, "%s%d", DSL_CPE_DEVICE_NAME, nDevice);
24 #else
25 sprintf (device, "%s", DSL_CPE_DEVICE_NAME);
26 #endif /* defined(INCLUDE_DSL_CPE_API_VINAX) || defined(INCLUDE_DSL_CPE_API_VRX)*/