HomeFreeBSD

LinuxKPI: 802.11: reduce code duplication introducing lkpi_remove_chanctx()

Description

LinuxKPI: 802.11: reduce code duplication introducing lkpi_remove_chanctx()

We have the same code three times, so factor it out into its own
function to make it easier to maintain.

Sponsored by: The FreeBSD Foundation
PR: 280546
MFC after: 3 days
Tested by: Oleksandr Kryvulia (shuriku shurik.kiev.ua)
Tested by: Oleg Nauman (oleg.nauman gmail.com) [rtw88]
Differential Revision: https://reviews.freebsd.org/D49734

Details

Provenance
bzAuthored on Apr 5 2025, 11:59 PM
Differential Revision
D49734: LinuxKPI: 802.11: adjust locking and work on chanctx
Parents
rGcdef9a9f91e2: LinuxKPI: 802.11: remove cipher_scheme support
Branches
Unknown
Tags
Unknown