summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-08-01 15:22:13 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-08-01 15:22:13 +0000
commit67fc7a22a0f86de2ffd6be3a953a14f7c6b6083b (patch)
tree2899e9a4f2204bdbcfeba2f13fddc2402ec7ae89
parenta6c687a62fa645d46be786d12cc9b890eb231575 (diff)
unbreak.
-rw-r--r--sys/net80211/ieee80211_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index a8a6052366d..8fd50e56f41 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -1,5 +1,5 @@
/* $NetBSD: ieee80211_input.c,v 1.24 2004/05/31 11:12:24 dyoung Exp $ */
-/* $OpenBSD: ieee80211_input.c,v 1.54 2007/08/01 13:25:19 damien Exp $ */
+/* $OpenBSD: ieee80211_input.c,v 1.55 2007/08/01 15:22:12 damien Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@@ -2445,7 +2445,7 @@ ieee80211_recv_eapol(struct ieee80211com *ic, struct mbuf *m0,
if (m0->m_len < sizeof(struct ether_header) + sizeof(*key))
goto out;
- m_adj(m, sizeof(struct ether_header));
+ m_adj(m0, sizeof(struct ether_header));
key = mtod(m0, struct ieee80211_eapol_key *);
if (key->type != EAPOL_KEY ||