Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154350386
D54482.id172731.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
918 B
Referenced Files
None
Subscribers
None
D54482.id172731.diff
View Options
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -2917,7 +2917,8 @@
break;
}
- memcpy(tx->key, k->wk_key, k->wk_keylen);
+ memcpy(tx->key, ieee80211_crypto_get_key_data(k),
+ ieee80211_crypto_get_key_len(k));
}
if (wh->i_fc[1] & IEEE80211_FC1_MORE_FRAG) {
@@ -3031,7 +3032,8 @@
break;
}
- memcpy(tx->key, k->wk_key, k->wk_keylen);
+ memcpy(tx->key, ieee80211_crypto_get_key_data(k),
+ ieee80211_crypto_get_key_len(k));
}
tx->len = htole16(totlen);
@@ -4627,7 +4629,8 @@
node.control = WPI_NODE_UPDATE;
node.flags = WPI_FLAG_KEY_SET;
node.kflags = htole16(kflags);
- memcpy(node.key, k->wk_key, k->wk_keylen);
+ memcpy(node.key, ieee80211_crypto_get_key_data(k),
+ ieee80211_crypto_get_key_len(k));
again:
DPRINTF(sc, WPI_DEBUG_KEY,
"%s: setting %s key id %d for node %d (%s)\n", __func__,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 29, 12:49 AM (1 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27493022
Default Alt Text
D54482.id172731.diff (918 B)
Attached To
Mode
D54482: wpi: migrate to new net80211 encryption key API
Attached
Detach File
Event Timeline
Log In to Comment