equal
deleted
inserted
replaced
656 wc += domain->working_counter[dev_idx]; |
656 wc += domain->working_counter[dev_idx]; |
657 } |
657 } |
658 |
658 |
659 state->working_counter = wc; |
659 state->working_counter = wc; |
660 |
660 |
661 if (state->working_counter) { |
661 if (wc) { |
662 if (state->working_counter == domain->expected_working_counter) { |
662 if (wc == domain->expected_working_counter) { |
663 state->wc_state = EC_WC_COMPLETE; |
663 state->wc_state = EC_WC_COMPLETE; |
664 } else { |
664 } else { |
665 state->wc_state = EC_WC_INCOMPLETE; |
665 state->wc_state = EC_WC_INCOMPLETE; |
666 } |
666 } |
667 } else { |
667 } else { |