As being the 'is_tx = 0' can not be moved in the whole handler due to a feasible race in between the delay in switching to STATE_RX_AACK_ON as well as a new interrupt, we introduce an intermediate 'was_tx' boolean only for this reason. There is not any Fixes tag applying https://ralphc579wyz2.scrappingwiki.com/user