Skip to content

Commit

Permalink
fixup! netdev/ieee802154_submac: add retransmission reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Oct 12, 2020
1 parent 2fc600d commit 4871b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/link_layer/ieee802154/submac.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ int ieee802154_send(ieee802154_submac_t *submac, const iolist_t *iolist)
}

submac->tx = true;
submac->retrans = 0;

ieee802154_radio_write(dev, iolist);
while (ieee802154_radio_confirm_set_trx_state(dev) == -EAGAIN) {}

submac->wait_for_ack = cnf;
submac->retrans = 0;

ieee802154_csma_ca_transmit(submac);
return 0;
Expand Down

0 comments on commit 4871b00

Please sign in to comment.