OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a9c0a1
)
net: mac80211_hwsim: convert to using IFF_NO_QUEUE
author
Phil Sutter
<phil@nwl.cc>
Tue, 18 Aug 2015 08:30:43 +0000
(10:30 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Aug 2015 18:55:07 +0000
(11:55 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/mac80211_hwsim.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mac80211_hwsim.c
b/drivers/net/wireless/mac80211_hwsim.c
index
dbb46ec
..
520bef8
100644
(file)
--- 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;