drivers/netdev: try tcp timer in every txavail call

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2020-12-18 02:56:11 +08:00
committed by Masayuki Ishikawa
parent 4a559807a5
commit 84daee1f76
16 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -967,7 +967,7 @@ static void tun_txavail_work(FAR void *arg)
/* Poll the network for new XMIT data */
priv->dev.d_buf = priv->read_buf;
devif_poll(&priv->dev, tun_txpoll);
devif_timer(&priv->dev, 0, tun_txpoll);
}
net_unlock();