diff --git a/drivers/wireless/spirit/drivers/spirit_netdev.c b/drivers/wireless/spirit/drivers/spirit_netdev.c index b7996451d7..73f84ba972 100644 --- a/drivers/wireless/spirit/drivers/spirit_netdev.c +++ b/drivers/wireless/spirit/drivers/spirit_netdev.c @@ -1238,7 +1238,7 @@ static void spirit_interrupt_work(FAR void *arg) DEBUGVERIFY(spirit_management_rxstrobe(spirit)); DEBUGVERIFY(spirit_command(spirit, CMD_RX)); - if (priv->state == DRIVER_STATE_SENDING); + if (priv->state == DRIVER_STATE_SENDING) { priv->state = DRIVER_STATE_IDLE; } diff --git a/net/devif/devif_forward.c b/net/devif/devif_forward.c index ecab12a730..6f6faffdce 100644 --- a/net/devif/devif_forward.c +++ b/net/devif/devif_forward.c @@ -90,6 +90,8 @@ void devif_forward(FAR struct forward_s *fwd) fwd->f_dev->d_sndlen = 0; fwd->f_dev->d_len = offset; + + UNUSED(ret); } #endif /* CONFIG_NET_IPFORWARD */ diff --git a/net/ipforward/ipfwd_poll.c b/net/ipforward/ipfwd_poll.c index 138440c942..bae659990b 100644 --- a/net/ipforward/ipfwd_poll.c +++ b/net/ipforward/ipfwd_poll.c @@ -40,11 +40,13 @@ #include #include +#include #include #include #include "devif/devif.h" +#include "sixlowpan/sixlowpan.h" #include "ipforward/ipforward.h" #ifdef CONFIG_NET_IPFORWARD