net/netdev_ieee802154_submac: prevent calling ACK TO fired if cancelled
This commit is contained in:
parent
d7f4d5b0bd
commit
cb6e242b65
@ -151,6 +151,9 @@ void ieee802154_submac_ack_timer_cancel(ieee802154_submac_t *submac)
|
|||||||
submac);
|
submac);
|
||||||
|
|
||||||
xtimer_remove(&netdev_submac->ack_timer);
|
xtimer_remove(&netdev_submac->ack_timer);
|
||||||
|
/* Prevent a race condition between the RX_DONE event and the ACK timeout */
|
||||||
|
netdev_submac->isr_flags &= ~NETDEV_SUBMAC_FLAGS_ACK_TIMEOUT;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _send(netdev_t *netdev, const iolist_t *pkt)
|
static int _send(netdev_t *netdev, const iolist_t *pkt)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user