diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2008-12-17 21:26:59 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-19 21:23:48 +0100 |
commit | 5e3f308997f53d00e8cbebdb89d4f6e347aa963a (patch) | |
tree | d3da8ee1f40a7becdd5009134932adb3bc96d845 /net/mac80211 | |
parent | p54usb: bring first generation devices back to life (diff) | |
download | linux-5e3f308997f53d00e8cbebdb89d4f6e347aa963a.tar.xz linux-5e3f308997f53d00e8cbebdb89d4f6e347aa963a.zip |
mac80211: Print unknown packet type in tasklet_handler
In stress testing p54usb, the WARN_ON() in ieee80211_tasklet_handler() was
triggered; however, there is no logging of the received value for packet
type. Adding that feature will improve the warning.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-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) 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; } |