<p><b>@benpicco</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/12287#discussion_r329199738">drivers/kw2xrf/kw2xrf_netdev.c</a>:</p>
<pre style='color:#555'>> -        DEBUG("[kw2xrf] TC4TMOUT, no SEQIRQ, TX failed\n");
-        assert(dev->pending_tx != 0);
-        dev->pending_tx--;
-        netdev->event_callback(netdev, NETDEV_EVENT_TX_NOACK);
-        kw2xrf_seq_timeout_off(dev);
-        kw2xrf_set_sequence(dev, dev->idle_state);
+        if (dregs[MKW2XDM_IRQSTS3] & MKW2XDM_IRQSTS3_TMR3IRQ) {
+            /* if the sequence was aborted by timer 3, ACK timed out */
+            DEBUG("[kw2xrf] TC3TMOUT, SEQIRQ, TX failed\n");
+            irqsts1 |= MKW2XDM_IRQSTS1_SEQIRQ;
+            assert(dev->pending_tx != 0);
+            dev->pending_tx--;
+            netdev->event_callback(netdev, NETDEV_EVENT_TX_NOACK);
+            kw2xrf_timer3_seq_abort_off(dev);
+            kw2xrf_abort_rx_ops_disable(dev);
+            kw2xrf_set_sequence(dev, dev->idle_state);
</pre>
<p>I guess this is not the same as <code>kw2xrf_set_idle_sequence()</code>?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/12287?email_source=notifications&email_token=ABE7WYGZBMV6GPZVLSJ7UQDQLZGRFA5CNFSM4IZHNIL2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGG2HYA#pullrequestreview-294495200">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAGQ7CXJVWHYOSNVJLQLZGRFANCNFSM4IZHNILQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYENJIL67FJ355TUHGDQLZGRFA5CNFSM4IZHNIL2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGG2HYA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/12287?email_source=notifications\u0026email_token=ABE7WYGZBMV6GPZVLSJ7UQDQLZGRFA5CNFSM4IZHNIL2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGG2HYA#pullrequestreview-294495200",
"url": "https://github.com/RIOT-OS/RIOT/pull/12287?email_source=notifications\u0026email_token=ABE7WYGZBMV6GPZVLSJ7UQDQLZGRFA5CNFSM4IZHNIL2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGG2HYA#pullrequestreview-294495200",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>