Skip to content

Commit 3db6da1

Browse files
Phil Sutterdavem330
authored andcommitted
net: mac80211_hwsim: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <[email protected]> Cc: Johannes Berg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3a9c0a1 commit 3db6da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/mac80211_hwsim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2677,7 +2677,7 @@ static void hwsim_mon_setup(struct net_device *dev)
26772677
dev->netdev_ops = &hwsim_netdev_ops;
26782678
dev->destructor = free_netdev;
26792679
ether_setup(dev);
2680-
dev->tx_queue_len = 0;
2680+
dev->priv_flags |= IFF_NO_QUEUE;
26812681
dev->type = ARPHRD_IEEE80211_RADIOTAP;
26822682
eth_zero_addr(dev->dev_addr);
26832683
dev->dev_addr[0] = 0x12;

0 commit comments

Comments
 (0)