Skip to content

Commit

Permalink
gnrc_netif_lorawan: add debug message for failed send
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Oct 7, 2022
1 parent e09502d commit 175a152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ static int _send(gnrc_netif_t *netif, gnrc_pktsnip_t *payload)
res = conf.status;

if (res < 0) {
DEBUG("gnrc_netif: unable to send (%s)\n", strerror(-res));
gnrc_pktbuf_release_error(payload, res);
}

Expand Down

0 comments on commit 175a152

Please sign in to comment.