diff options
author | Phil Sutter <phil@nwl.cc> | 2015-08-18 11:30:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-18 21:55:07 +0300 |
commit | 3db6da1f07b4ee3c0657973f504a44d38b5c04a1 (patch) | |
tree | d616ab888814a1dd76304932a3bf3a30ff1e90c0 | |
parent | 3a9c0a1bb82aef17468f4aff492421c875fff71c (diff) | |
download | linux-3db6da1f07b4ee3c0657973f504a44d38b5c04a1.tar.xz |
net: mac80211_hwsim: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |