As being the 'is_tx = 0' can't be moved in the entire handler because of a possible race among the hold off in switching to STATE_RX_AACK_ON and also a new interrupt, we introduce an intermediate 'was_tx' boolean only for this goal. There's no Fixes tag applying below, several adjustments are https://judyb680acd5.weblogco.com/profile