TUN driver bug fix. From Max Neklyudov.
This commit is contained in:
parent
f4dde423c9
commit
7355a9044a
@ -438,6 +438,7 @@ static void tun_receive(FAR struct tun_device_s *priv)
|
|||||||
if (priv->dev.d_len > 0)
|
if (priv->dev.d_len > 0)
|
||||||
{
|
{
|
||||||
priv->write_d_len = priv->dev.d_len;
|
priv->write_d_len = priv->dev.d_len;
|
||||||
|
tun_transmit(priv);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user