Do not try and find a device from a non-existent SKB

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3199 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mentor 2008-01-17 23:22:51 +00:00
parent beb3ffc4eb
commit bd7108a853
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ static void skb_print_message(
#else
printk("%s: %s%s:%d %s\n",
#endif
DEV_NAME(skb->dev),
((skb != NULL) ? DEV_NAME(skb->dev) : "none"),
skb_count,
#ifdef IEEE80211_DEBUG_REFCNT
func1, line1,