X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fcdp.c;h=f9ccf5323183d98cf10435192d17502c7a8cd069;hb=1541d7a63d46309651bb6cb8abee018c04b7dfa2;hp=d8df3ea017912e7bae59b2299946dac85ec8d628;hpb=6aede5b750e342c3293ec1d87c4dbb9376280bbe;p=u-boot diff --git a/net/cdp.c b/net/cdp.c index d8df3ea017..f9ccf53231 100644 --- a/net/cdp.c +++ b/net/cdp.c @@ -224,14 +224,14 @@ static void cdp_timeout_handler(void) cdp_seq++; if (cdp_seq < 3) { - NetSetTimeout(CDP_TIMEOUT, cdp_timeout_handler); + net_set_timeout_handler(CDP_TIMEOUT, cdp_timeout_handler); cdp_send_trigger(); return; } /* if not OK try again */ if (!cdp_ok) - NetStartAgain(); + net_start_again(); else net_set_state(NETLOOP_SUCCESS); } @@ -357,7 +357,7 @@ void cdp_start(void) cdp_native_vlan = htons(-1); cdp_appliance_vlan = htons(-1); - NetSetTimeout(CDP_TIMEOUT, cdp_timeout_handler); + net_set_timeout_handler(CDP_TIMEOUT, cdp_timeout_handler); cdp_send_trigger(); }