staging: wilc1000: convert to using IFF_NO_QUEUE
authorPhil Sutter <phil@nwl.cc>
Tue, 18 Aug 2015 08:30:47 +0000 (10:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 18:55:07 +0000 (11:55 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Johnny Kim <johnny.kim@atmel.com>
Cc: Rachel Kim <rachel.kim@atmel.com>
Cc: Dean Lee <dean.lee@atmel.com>
Cc: Chris Park <chris.park@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/staging/wilc1000/linux_mon.c

index f5296f5..a1f66ad 100644 (file)
@@ -493,7 +493,7 @@ static void WILC_WFI_mon_setup(struct net_device *dev)
        /* dev->destructor = free_netdev; */
        PRINT_INFO(CORECONFIG_DBG, "In Ethernet setup function\n");
        ether_setup(dev);
-       dev->tx_queue_len = 0;
+       dev->priv_flags |= IFF_NO_QUEUE;
        dev->type = ARPHRD_IEEE80211_RADIOTAP;
        memset(dev->dev_addr, 0, ETH_ALEN);