[PATCH master] Network spoke: Use connection state that triggered a callback (bug #871429)