Merge "Fix the inconsistency of scan status."