[source] lantiq: ltq-ptm: fix ADSL showtime handler

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 28 17:22:24 PDT 2017


dangole pushed a commit to source.git, branch master:
https://git.lede-project.org/289d190f666efc2ac1af36eb4980f3a586b044d4

commit 289d190f666efc2ac1af36eb4980f3a586b044d4
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Aug 16 20:56:27 2017 +0200

    lantiq: ltq-ptm: fix ADSL showtime handler
    
    commit 2d6c7c2526b6 introduced a reference to g_xdata_addr which isn't
    defined in that context. Use xdata_addr here instead.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
index 4ce2e90..b3803f9 100644
--- a/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
+++ b/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c
@@ -1519,7 +1519,7 @@ static int ifx_ptm_init(void)
     port_cell.port_num = 1;
     ifx_mei_atm_showtime_check(&g_showtime, &port_cell, &xdata_addr);
     if ( g_showtime ) {
-	ptm_showtime_enter(&port_cell, &g_xdata_addr);
+	ptm_showtime_enter(&port_cell, &xdata_addr);
     }
 
     ifx_mei_atm_showtime_enter = ptm_showtime_enter;



More information about the lede-commits mailing list