mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
drivers/netdev: try tcp timer in every txavail call
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
4a559807a5
commit
84daee1f76
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user