As the 'is_tx = 0' can't be moved in the entire handler as a result of a achievable race among the delay in switching to STATE_RX_AACK_ON in addition to a new interrupt, we introduce an intermediate 'was_tx' boolean only for this reason. There is no Fixes tag implementing here, lots https://robinsono923jkm7.blogginaway.com/profile