Add null check around dev_kfree_skb

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2875 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2007-11-21 08:23:43 +00:00
parent c676eeb444
commit 34a98e1501

View File

@ -269,6 +269,7 @@ runtest(struct ieee80211com *ic, struct ciphertest *t)
dumpdata("Plaintext", t->plaintext, t->plaintext_len);
goto bad;
}
if (skb != NULL)
dev_kfree_skb(skb);
ieee80211_crypto_delkey(ic, &key);
printk("PASS\n");