From: Phil Sutter Date: Tue, 18 Aug 2015 08:30:47 +0000 (+0200) Subject: staging: wilc1000: convert to using IFF_NO_QUEUE X-Git-Tag: v4.3-rc1~96^2~141^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d9e437d56bea20bef180bd64ad2ad354de4c79b;p=platform%2Fkernel%2Flinux-exynos.git staging: wilc1000: convert to using IFF_NO_QUEUE Signed-off-by: Phil Sutter Cc: Johnny Kim Cc: Rachel Kim Cc: Dean Lee Cc: Chris Park Signed-off-by: David S. Miller --- diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index f5296f5..a1f66ad 100644 --- a/drivers/staging/wilc1000/linux_mon.c +++ b/drivers/staging/wilc1000/linux_mon.c @@ -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);