Work on ac122u. try to reset state when transmit returns 0.