HomeFreeBSD

LinuxKPI: 802.11: adjust lower wake_queue locking

Description

LinuxKPI: 802.11: adjust lower wake_queue locking

In bc24342d96aa8 we added lower wake_queue locking. There are paths,
such as in rtw89 from a (*hw_scan_cancel)() that we can get to there and
then would recursively acquire the wiphy lock which is not allowed.
Adjust locking to a spin lock to match Linux driver expectations.

Sponsored by: The FreeBSD Foundation
Fixes: bc24342d96aa8
MFC after: 3 days

Details

Provenance
bzAuthored on Aug 29 2025, 7:39 AM
Parents
rGd1df103190c1: LinuxKPI: 802.11: mark all structs in struct ieee80211_mgmt __packed
Branches
Unknown
Tags
Unknown