diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-06 17:47:20 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2007-07-06 17:47:20 +0000 |
commit | 536b89dbeb0608d4b4423605c1cf7c9905d9fb7f (patch) | |
tree | 73be41efb3bad325c6ec335024a38ee12cf18fab /sys/net80211/ieee80211_node.c | |
parent | a57498b063f4f755d7c8b3e596ae76a14f4f02e0 (diff) |
initialize an unitialized variable.
Diffstat (limited to 'sys/net80211/ieee80211_node.c')
-rw-r--r-- | sys/net80211/ieee80211_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index d8ef5c76e30..03dd788bacb 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.c,v 1.26 2007/07/03 20:25:32 damien Exp $ */ +/* $OpenBSD: ieee80211_node.c,v 1.27 2007/07/06 17:47:19 damien Exp $ */ /* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */ /*- @@ -766,8 +766,8 @@ struct ieee80211_node * ieee80211_find_rxnode(struct ieee80211com *ic, const struct ieee80211_frame *wh) { + static const u_int8_t zero[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; struct ieee80211_node *ni; - const static u_int8_t zero[IEEE80211_ADDR_LEN]; const u_int8_t *bssid; int s; |