git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging/wlan-ng: Fix 'Branch condition evaluates to a garbage value' in p80211netdev.c
[pandora-kernel.git]
/
drivers
/
staging
/
wlan-ng
/
p80211netdev.c
diff --git
a/drivers/staging/wlan-ng/p80211netdev.c
b/drivers/staging/wlan-ng/p80211netdev.c
index
14bfeb2
..
a8ca81e
100644
(file)
--- a/
drivers/staging/wlan-ng/p80211netdev.c
+++ b/
drivers/staging/wlan-ng/p80211netdev.c
@@
-354,6
+354,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;