Given that the 'is_tx = 0' can't be moved in the entire handler on account of a attainable race amongst 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 function. There is not any Fixes tag implementing below, https://battistab578vxy2.sasugawiki.com/user