summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-11-08 14:09:04 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-11-08 14:09:04 +0000
commit0787a52ec9d09f44824857f3642281ab86da6cc3 (patch)
tree931c22d517f595fb8dd540d7c7ed23d81d53e0d2 /sys/dev
parent8082b519e8eb7d4b72eb0bbea42ac126c4ce8d8c (diff)
initialize k to NULL in wpi_tx_data()
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_wpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index 7a4cccddacd..7ae838c14de 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.67 2008/11/08 12:21:36 damien Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.68 2008/11/08 14:09:03 damien Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -1656,7 +1656,7 @@ wpi_tx_data(struct wpi_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
struct wpi_tx_cmd *cmd;
struct wpi_cmd_data *tx;
struct ieee80211_frame *wh;
- struct ieee80211_key *k;
+ struct ieee80211_key *k = NULL;
enum ieee80211_edca_ac ac;
struct mbuf *mnew;
uint32_t flags;