Anurag S. Maskey wrote:
> Code review for
>
> 11103 - 'ncu:ip' should not go into 'online' at first, instead of 
> 'offline*'
>
> http://zhadum.east/export/ws/am223141/temp/nwam1-work/webrev/
>
webrev updated.

When DHCP times out, it doesn't check the state of the NCU, it enqueues 
the DHCP_TIMED_OUT state change event. In 
nwamd_ncu_handle_state_event(), the current state is checked to make 
sure that the NCU is not online. If online, then the state change event 
to DHCP_TIMED_OUT is ignored. This should alleviate the problem raised 
about what's already waiting in the event queue.

Other parts of the daemon that check the current state of the NCU before 
enqueuing a state change event should go here.

Anurag

Reply via email to