Commit 4d2f1af4 authored by Aurelio Colosimo's avatar Aurelio Colosimo

state-initializing: avoid infinite loop if Locking does not succeed

parent f02125d0
......@@ -84,6 +84,7 @@ int pp_initializing(struct pp_instance *ppi, unsigned char *pkt, int plen)
if(timer_get_tics() - start_tics > lock_timeout)
{
PP_PRINTF("\nLocking timeout.\n");
break;
}
}
PP_PRINTF("\nLocking end.\n");
......
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