[PATCH 3/9] cec: add cec_transmit_attempt_done helper function