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)
Mon, Oct 6, 7:55 PM
Unknown Object (File)
Fri, Oct 3, 3:42 AM
Unknown Object (File)
Thu, Oct 2, 1:05 PM
Unknown Object (File)
Sun, Sep 28, 3:27 PM
Unknown Object (File)
Thu, Sep 25, 6:21 PM
Unknown Object (File)
Sep 9 2025, 9:41 AM
Unknown Object (File)
Aug 27 2025, 12:19 AM
Unknown Object (File)
Aug 15 2025, 2:46 AM

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 Not Applicable
Unit
Tests Not Applicable