1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

kw2xrf: use ACK_REQ flag for ACK check on TX

This commit is contained in:
Koen Zandberg 2018-07-17 13:57:30 +02:00
parent ecaef7bfc5
commit 4b723859f3
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -103,7 +103,7 @@ static size_t kw2xrf_tx_load(uint8_t *pkt_buf, uint8_t *buf, size_t len, size_t
static void kw2xrf_tx_exec(kw2xrf_t *dev)
{
if ((dev->netdev.flags & KW2XRF_OPT_AUTOACK) &&
if ((dev->netdev.flags & KW2XRF_OPT_ACK_REQ) &&
(_send_last_fcf & IEEE802154_FCF_ACK_REQ)) {
kw2xrf_set_sequence(dev, XCVSEQ_TX_RX);
}