]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211: simplify code after STA/AP VAPs traffic hang fix
authorBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 5 May 2022 22:21:03 +0000 (22:21 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 6 May 2022 09:34:16 +0000 (09:34 +0000)
commit464907ce1cf931091fa48999ea64480a6d2ef52c
tree89c176e043dbc4ea122e03c179121f2450e7278a
parente99c0c8b79b030e6c63e4f7149154d926a360664
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
sys/net80211/ieee80211_proto.c