Commit 41730831 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Adam Wujek

ipv4: avoid bootp polling while doing abscal

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 8ff9e3ea
......@@ -103,6 +103,10 @@ static int bootp_poll(void)
if (ip_status != IP_TRAINING)
return 0;
/* no extra traffic when abscal is in progress */
if (ptp_mode == WRC_MODE_ABSCAL)
return 0;
if (len > 0)
ret = process_bootp(buf, len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment