Fix incorrect condition. It should be su->status.readinessState == CL_AMS_READINESS_STATE_OUTOFSERVICE