mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
TUN driver bug fix. From Max Neklyudov.
This commit is contained in:
@@ -438,6 +438,7 @@ static void tun_receive(FAR struct tun_device_s *priv)
|
||||
if (priv->dev.d_len > 0)
|
||||
{
|
||||
priv->write_d_len = priv->dev.d_len;
|
||||
tun_transmit(priv);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user