Since the 'is_tx = 0' can not be moved in the entire handler as a consequence of a attainable race amongst the hold off in switching to STATE_RX_AACK_ON in addition to a new interrupt, we introduce an intermediate 'was_tx' boolean just for this reason. There is no Fixes tag making https://boysh923lmn8.wikigop.com/user