As the 'is_tx = 0' can not be moved in the whole handler as a consequence of a doable race amongst the delay in switching to STATE_RX_AACK_ON and a new interrupt, we introduce an intermediate 'was_tx' boolean only for this objective. There isn't a Fixes tag implementing below, a lot https://claytonhikmm.liberty-blog.com/28700084/helping-the-others-realize-the-advantages-of-wordpress-and-plugins