mac80211: backport a fix for single-queue drivers (fixes #11534)
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 513-mac80211_reduce_txqueuelen.patch
1 --- a/net/mac80211/iface.c
2 +++ b/net/mac80211/iface.c
3 @@ -815,6 +815,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))