The wait_operstate() function now rechecks the condition for a timeout, so the wait_online() function can simply call it to check for the setup_state.
The wait_operstate() function now rechecks the condition for a timeout, so the wait_online() function can simply call it to check for the setup_state.