Explorar o código

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 <[email protected]>
Daniel Golle %!s(int64=8) %!d(string=hai) anos
pai
achega
289d190f66
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c

+ 1 - 1
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;
     port_cell.port_num = 1;
     ifx_mei_atm_showtime_check(&g_showtime, &port_cell, &xdata_addr);
     ifx_mei_atm_showtime_check(&g_showtime, &port_cell, &xdata_addr);
     if ( g_showtime ) {
     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;
     ifx_mei_atm_showtime_enter = ptm_showtime_enter;