mac80211: backport from trunk
[openwrt-10.03/.git] / package / mac80211 / patches / 522-mac80211_reduce_txqueuelen.patch
1 --- a/net/mac80211/iface.c
2 +++ b/net/mac80211/iface.c
3 @@ -686,6 +686,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))