HomeFreeBSD

net80211: ieee80211_swscan_bg_scan() track return variable under lock

Description

net80211: ieee80211_swscan_bg_scan() track return variable under lock

As the comment says it probably does not matter but use a local
variable to track state under lock so we can return the last known
good state of what we thought we were operating under after unlocking.

Likely no functional changes.

Sponsored by: The FreeBSD Foundation
MFC atfer: 3 days
Reviewed by: enweiwu, adrian
Differential Revision: https://reviews.freebsd.org/D38660

Details

Provenance
bzAuthored on Feb 18 2023, 1:15 AM
Reviewer
enweiwu
Differential Revision
D38660: net80211: ieee80211_swscan_bg_scan() track return variable under lock
Parents
rG17a5a290032e: efibootmgr: add missing break for 'u' case
Branches
Unknown
Tags
Unknown