aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2024-12-08 20:24:10 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2024-12-09 14:45:24 +0000
commit87e140a5c6f89eea7ea6320d1ae34566492abfc0 (patch)
tree73e704f348dcecdff2f0b53b9b76e596dafcdb8f /include
parent4285e024baa80f81d13cdcc016fdf0721fe57862 (diff)
iwlwifi: avoid (hard) hang on loading module
For certain users or chipsets (reports were for CNVi devices but we are not sure if this is limited or specific to them) loading if_iwlwifi hangs. The reason for this is that a SYSINIT (module_load_order()) has not yet run in this case and the Linux driver tries to load the chipsets-specific module. On FreeBSD all supported sub-modules are part of if_iwlwifi so we do not have to load them separately but calling into kern_kldload via LinuxKPI request_module while loading the module gives us a hard hang. iwlwifi calls request_module_nowait() so we can simply skip over this and continue and the SYSINIT will do the job later if no other dependencies fail. Sponsored by: The FreeBSD Foundation MFC after: 3 days PR: 282789 Tested by: Ruslan Makhmatkhanov, Pete Wright Differential Revision: https://reviews.freebsd.org/D47994
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions