diff --git a/net/mac80211/main.c b/net/mac80211/main.c index a0371caf01cef04aa49c141bde020860d9d179e8..ab6b73647b3e3905495ea7f6f33f942150a12db0 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -341,7 +341,8 @@ static void ieee80211_tasklet_handler(unsigned long data) dev_kfree_skb(skb); break ; default: - WARN_ON(1); + WARN(1, "mac80211: Packet is of unknown type %d\n", + skb->pkt_type); dev_kfree_skb(skb); break; }