Given that the 'is_tx = 0' can't be moved in the complete handler because of a feasible race between the delay in switching to STATE_RX_AACK_ON as well as a new interrupt, we introduce an intermediate 'was_tx' boolean only for this reason. There isn't any Fixes tag implementing below, a lot https://francist246qsx2.wikiap.com/user