HomeFreeBSD

- Comparing iv_state to iv_nstate is insufficient for determining if the state
rS191679Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Comparing iv_state to iv_nstate is insufficient for determining if the state taskq as run since the new state can be overridden in the handler. Add a IEEE80211_FEXT_STATEWAIT flag to track the pending state change. Likewise do not compare iv_state to iv_nstate to verify the handler succeeded, just check the return code.
  • Assert that iv_newstate() can not be deferred again or fail for INIT

Details

Provenance
thompsaAuthored on
Parents
rS191678: Use TAILQ_FOREACH_SAFE since iv_newstate may drop the com lock.
Branches
Unknown
Tags
Unknown

Event Timeline