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 11, 2022
1 parent ab32ad5 commit 5f504ad
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 @@ -409,6 +409,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 5f504ad

Please sign in to comment.