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
@@ -1321,7 +1321,7 @@ static void ftmac100_txavail_work(FAR void *arg)
/* If so, then poll the network for new XMIT data */
devif_poll(&priv->ft_dev, ftmac100_txpoll);
devif_timer(&priv->ft_dev, 0, ftmac100_txpoll);
}
net_unlock();