1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
ZyXEL_PMG5617GA/package/mac80211/patches/513-mac80211_reduce_txqueuelen.patch
2022-11-27 10:16:14 +00:00

11 lines
364 B
Diff

--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1046,6 +1046,7 @@ static const struct net_device_ops ieee8
static void ieee80211_if_setup(struct net_device *dev)
{
ether_setup(dev);
+ dev->tx_queue_len = 32;
dev->priv_flags &= ~IFF_TX_SKB_SHARING;
netdev_attach_ops(dev, &ieee80211_dataif_ops);
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))