Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wlan][mlme] Fix AP associate result code to status code mapping
The fidl_mlme::AssociateResultCodes values should trivially map one-to-one with StatusCode values. Prior to this change, the mapping was one-to-one but not quite trivial. The mapping of AssociateResultCodes::RefusedReasonUnspecified is changed to StatusCode::REFUSED instead of StatusCode::DENY_OTHER_REASON. Added an additional test of handle_mlme_assoc_resp() that tests the new mapping. Test: fx test wlan-mlme-tests Change-Id: If0a5ea59be88785717d3aef4fe685338c6ea1a42 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/439138 Reviewed-by: Dylan Swiggett <swiggett@google.com> Testability-Review: Dylan Swiggett <swiggett@google.com> Commit-Queue: Charles Celerier <chcl@google.com>
- Loading branch information