Migrate to the new encryption key API rather than poking at the
key struct directly.
Details
Details
- Reviewers
- None
- Commits
- rG6a6152bc292f: rsu: migrate to new net80211 encryption key API
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| sys/dev/usb/wlan/if_rsu.c | ||
|---|---|---|
| 1736–1737 | This looks suspiciously like it's copying the TKIP key but it isn't; key.key is IEEE80211_KEYBUF_SIZE - 128 bits / 16 bytes. In any case I really should double/triple check if_rsu in TKIP mode before landing. (And I really need to figure out decoupling IEEE80211_KEYBUF_SIZE from everything because right now it assumes 128 bit keys and that's snaked its way through drivers and the WEP code (eg for rc4key[]) which means I can't change it :( | |