summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2009-11-23 16:54:39 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2009-11-23 16:54:39 +0000
commit91dc3c9f50a9fe7c0a2eb68c3ef9097ecffdad9c (patch)
tree320ddea1d10054f1c135a48c92e96b6a0f906357 /sys/net80211
parentede94fdb134206c721f41cd91dfe46aff6b9d583 (diff)
how did i manage to forget that file in my last commit?
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_pae_input.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_pae_input.c b/sys/net80211/ieee80211_pae_input.c
index 0f92b742c98..a84639a60f5 100644
--- a/sys/net80211/ieee80211_pae_input.c
+++ b/sys/net80211/ieee80211_pae_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_pae_input.c,v 1.15 2009/01/26 19:09:41 damien Exp $ */
+/* $OpenBSD: ieee80211_pae_input.c,v 1.16 2009/11/23 16:54:38 damien Exp $ */
/*-
* Copyright (c) 2007,2008 Damien Bergamini <damien.bergamini@free.fr>
@@ -600,6 +600,7 @@ ieee80211_recv_4way_msg3(struct ieee80211com *ic,
DPRINTF(("marking port %s valid\n",
ether_sprintf(ni->ni_macaddr)));
ni->ni_port_valid = 1;
+ ieee80211_set_link_state(ic, LINK_STATE_UP);
}
}
deauth:
@@ -853,6 +854,7 @@ ieee80211_recv_rsn_group_msg1(struct ieee80211com *ic,
DPRINTF(("marking port %s valid\n",
ether_sprintf(ni->ni_macaddr)));
ni->ni_port_valid = 1;
+ ieee80211_set_link_state(ic, LINK_STATE_UP);
}
}
/* update the last seen value of the key replay counter field */
@@ -947,6 +949,7 @@ ieee80211_recv_wpa_group_msg1(struct ieee80211com *ic,
DPRINTF(("marking port %s valid\n",
ether_sprintf(ni->ni_macaddr)));
ni->ni_port_valid = 1;
+ ieee80211_set_link_state(ic, LINK_STATE_UP);
}
}
/* update the last seen value of the key replay counter field */