Fix error. flags was changed in pe_chn_tx.