25f4fdd401b412469f5edd8b588e61c7eb3bc8c7
[openwrt.git] / package / mac80211 / patches / 513-mac80211_reduce_txqueuelen.patch
1 --- a/net/mac80211/iface.c
2 +++ b/net/mac80211/iface.c
3 @@ -964,6 +964,7 @@ static const struct net_device_ops ieee8
4  static void ieee80211_if_setup(struct net_device *dev)
5  {
6         ether_setup(dev);
7 +       dev->tx_queue_len = 32;
8         dev->priv_flags &= ~IFF_TX_SKB_SHARING;
9         netdev_attach_ops(dev, &ieee80211_dataif_ops);
10  #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))