summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-11-19 19:35:44 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-11-19 19:35:44 +0000
commit9c0416f3b78c966afae6aac15d9368d257b340d2 (patch)
tree52a0d7ccb89c88c08335b42512068102c228829d /sys/dev/pci
parent338d40982ed6fccaa410c5f88a483e3f27e54c10 (diff)
pairwise keys always have an ID equal to 0.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_iwn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c
index 791312ffb17..10a85750af3 100644
--- a/sys/dev/pci/if_iwn.c
+++ b/sys/dev/pci/if_iwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwn.c,v 1.13 2007/11/19 19:34:25 damien Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.14 2007/11/19 19:35:43 damien Exp $ */
/*-
* Copyright (c) 2007
@@ -2256,7 +2256,6 @@ iwn_set_key(struct ieee80211com *ic, struct ieee80211_node *ni,
switch (k->k_cipher) {
case IEEE80211_CIPHER_CCMP:
node.security = htole16(IWN_CIPHER_CCMP);
- node.security |= htole16(k->k_id << 8);
memcpy(node.key, k->k_key, k->k_len);
break;
default: