HomeFreeBSD

net80211: simplify code after STA/AP VAPs traffic hang fix

Description

net80211: simplify code after STA/AP VAPs traffic hang fix

Combine the comment and double-unsetting of OACTIVE into a single case
after e8de31caceaa36caf5d7b4355072f148e2433b82.
This saves the question of why we do it twice--once right before and
one more time right after the state change check.
Also move the XXX comment about kicking the queue up to where it seems
better suited now.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D35135

Details

Provenance
bzAuthored on May 5 2022, 10:21 PM
Reviewer
adrian
Differential Revision
D35135: net80211: simplify code after STA/AP VAPs traffic hang fix
Parents
rGe99c0c8b79b0: xen: Prevent buffer overflow in privcmd ioctl
Branches
Unknown
Tags
Unknown