diff options
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 6f6cd43592c8..896f532182f0 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -312,7 +312,8 @@ struct hwsim_radiotap_hdr { | |||
312 | } __attribute__ ((packed)); | 312 | } __attribute__ ((packed)); |
313 | 313 | ||
314 | 314 | ||
315 | static int hwsim_mon_xmit(struct sk_buff *skb, struct net_device *dev) | 315 | static netdev_tx_t hwsim_mon_xmit(struct sk_buff *skb, |
316 | struct net_device *dev) | ||
316 | { | 317 | { |
317 | /* TODO: allow packet injection */ | 318 | /* TODO: allow packet injection */ |
318 | dev_kfree_skb(skb); | 319 | dev_kfree_skb(skb); |