Commit Graph
1 Commits
Author SHA1 Message Date
MastaGandClaude Opus 5.5 03b3edf4e3 fix: support Linux 7.4 cfg80211 key type
Linux 7.4 replaces the bool pairwise parameter of the cfg80211 add_key,
get_key and del_key operations with enum nl80211_key_type, so the driver
no longer builds against it (three incompatible function pointer types
in rwnx_main.c).

For 7.4 and newer the three callbacks take the key type; add_key, the
only one that uses the flag, derives pairwise from it
(NL80211_KEYTYPE_PAIRWISE), so the key is installed exactly as before.
Older kernels keep the existing signatures.

Built with DKMS against 7.4.0-rc1 (CachyOS) and 7.3.1, and used on 7.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012SzrKCtbbm4dpBdvmx6rPE
2026-11-06 18:11:52 +01:00