staging: rtl8188eu: Convert to using IFF_NO_QUEUE
authorPhil Sutter <phil@nwl.cc>
Fri, 15 Apr 2016 17:14:19 +0000 (19:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2016 02:02:13 +0000 (22:02 -0400)
Cc: Jakub Sitnicki <jsitnicki@gmail.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/staging/rtl8188eu/os_dep/mon.c

index 63bb87593af0ca0c42b60782d5808b2cec21bb60..d976e5e18d50ef7a469e437585da074d7f3b3af0 100644 (file)
@@ -155,7 +155,7 @@ static void mon_setup(struct net_device *dev)
        dev->netdev_ops = &mon_netdev_ops;
        dev->destructor = free_netdev;
        ether_setup(dev);
-       dev->tx_queue_len = 0;
+       dev->priv_flags |= IFF_NO_QUEUE;
        dev->type = ARPHRD_IEEE80211;
        /*
         * Use a locally administered address (IEEE 802)