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
F139253558: D49368.diff
Wed, Dec 10, 1:43 AM
Unknown Object (File)
Tue, Dec 2, 3:33 PM
Unknown Object (File)
Fri, Nov 28, 4:04 PM
Unknown Object (File)
Fri, Nov 28, 1:18 PM
Unknown Object (File)
Tue, Nov 25, 3:11 PM
Unknown Object (File)
Nov 7 2025, 9:33 PM
Unknown Object (File)
Oct 25 2025, 7:37 PM
Unknown Object (File)
Oct 25 2025, 1:14 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