Page MenuHomeFreeBSD

net80211: cleanup keyidx argument of ieee80211_notify_michael_failure()
ClosedPublic

Authored by bz on Mar 14 2025, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 25, 7:37 PM
Unknown Object (File)
Sat, Oct 25, 1:14 AM
Unknown Object (File)
Sun, Oct 19, 1:40 AM
Unknown Object (File)
Mon, Oct 6, 7:55 PM
Unknown Object (File)
Oct 3 2025, 3:42 AM
Unknown Object (File)
Oct 2 2025, 1:05 PM
Unknown Object (File)
Sep 28 2025, 3:27 PM
Unknown Object (File)
Sep 25 2025, 6:21 PM

Details

Summary

Instead of passing -1 to the function in ieee80211_crypto_demic(),
use the defined IEEE80211_KEYIX_NONE.
net80211 uses ieee80211_keyix not u_int as type for the key index
internally. Use that. Tihs also helps when printing the -1 unsigned
as it stays within the expected numerical scope and makes the debug
message more readable.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 62929
Build 59813: arc lint + arc unit