diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 0903f296eb..85d0919188 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -671,10 +671,8 @@ static void tun_net_receive_tap(FAR struct tun_device_s *priv) if (ret == OK) { - if (priv->dev.d_len > 0) { - /* Update the Ethernet header with the correct MAC address */ #ifdef CONFIG_NET_IPv4