From: Phil Sutter Date: Tue, 18 Aug 2015 08:30:43 +0000 (+0200) Subject: net: mac80211_hwsim: convert to using IFF_NO_QUEUE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3db6da1f07b4ee3c0657973f504a44d38b5c04a1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: mac80211_hwsim: convert to using IFF_NO_QUEUE Signed-off-by: Phil Sutter Cc: Johannes Berg Signed-off-by: David S. Miller --- diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index dbb46ece6f52..520bef80747f 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2677,7 +2677,7 @@ static void hwsim_mon_setup(struct net_device *dev) dev->netdev_ops = &hwsim_netdev_ops; dev->destructor = free_netdev; ether_setup(dev); - dev->tx_queue_len = 0; + dev->priv_flags |= IFF_NO_QUEUE; dev->type = ARPHRD_IEEE80211_RADIOTAP; eth_zero_addr(dev->dev_addr); dev->dev_addr[0] = 0x12;