From: Phil Sutter Date: Fri, 15 Apr 2016 17:14:19 +0000 (+0200) Subject: staging: rtl8188eu: Convert to using IFF_NO_QUEUE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e7399173200934612edf2153b93a8f232b88e4b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8188eu: Convert to using IFF_NO_QUEUE Cc: Jakub Sitnicki Signed-off-by: Phil Sutter Signed-off-by: David S. Miller --- diff --git a/drivers/staging/rtl8188eu/os_dep/mon.c b/drivers/staging/rtl8188eu/os_dep/mon.c index 63bb87593af0..d976e5e18d50 100644 --- a/drivers/staging/rtl8188eu/os_dep/mon.c +++ b/drivers/staging/rtl8188eu/os_dep/mon.c @@ -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)