diff options
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index a0371caf01ce..ab6b73647b3e 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -341,7 +341,8 @@ static void ieee80211_tasklet_handler(unsigned long data) | |||
341 | dev_kfree_skb(skb); | 341 | dev_kfree_skb(skb); |
342 | break ; | 342 | break ; |
343 | default: | 343 | default: |
344 | WARN_ON(1); | 344 | WARN(1, "mac80211: Packet is of unknown type %d\n", |
345 | skb->pkt_type); | ||
345 | dev_kfree_skb(skb); | 346 | dev_kfree_skb(skb); |
346 | break; | 347 | break; |
347 | } | 348 | } |