diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-11-08 14:09:04 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-11-08 14:09:04 +0000 |
commit | 0787a52ec9d09f44824857f3642281ab86da6cc3 (patch) | |
tree | 931c22d517f595fb8dd540d7c7ed23d81d53e0d2 /sys/dev/pci | |
parent | 8082b519e8eb7d4b72eb0bbea42ac126c4ce8d8c (diff) |
initialize k to NULL in wpi_tx_data()
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_wpi.c | 4 |
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; |