net/netdev_ieee802154_submac: prevent calling ACK TO fired if cancelled
(cherry picked from commit cb6e242b652f3c87444f45d0be044b10c31d6f17)
This commit is contained in:
parent
6b833f1791
commit
98211c291f
@ -151,6 +151,9 @@ void ieee802154_submac_ack_timer_cancel(ieee802154_submac_t *submac)
|
||||
submac);
|
||||
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user