kw2xrf: use ACK_REQ flag for ACK check on TX
This commit is contained in:
parent
ecaef7bfc5
commit
4b723859f3
@ -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)
|
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)) {
|
(_send_last_fcf & IEEE802154_FCF_ACK_REQ)) {
|
||||||
kw2xrf_set_sequence(dev, XCVSEQ_TX_RX);
|
kw2xrf_set_sequence(dev, XCVSEQ_TX_RX);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user