X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fstaging%2Fwlan-ng%2Fp80211netdev.c;h=0039e082507d845c262be7939902eb662714593c;hp=750330f064f9077d4dd288e73c792b56a8197231;hb=fae7e4d39373305cf505d1f0871a4491897d56f9;hpb=0bcc0429bdb9f7cca3b7ab1f905b0d47031c03e0;ds=sidebyside diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 750330f064f9..0039e082507d 100644 --- a/drivers/staging/wlan-ng/p80211netdev.c +++ b/drivers/staging/wlan-ng/p80211netdev.c @@ -351,6 +351,8 @@ static int p80211knetdev_hard_start_xmit(struct sk_buff *skb, union p80211_hdr p80211_hdr; struct p80211_metawep p80211_wep; + p80211_wep.data = NULL; + if (skb == NULL) return NETDEV_TX_OK;