This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When running wireless backhaul tests, we have to remove the wired
interface from the bridge to avoid creating a loop.
Dynamic backhaul switching is not implemented yet, but we can get away
with it in certification.
When we receive dev_reset_default from the UCC, remove the wired
interface from the bridge. Then, when we get dev_set_config, only add
the wired interface back in the bridge if the test uses wired backhaul.
Also:
Previously the wireless hal was only disconnected in dev_reset if the
FSM state was already is something that comes after ENABLE.
There are some cases however where the disconnect didn't happen.
For example, if the connection is active and we stop and restart
prplMesh, the next dev_reset will not disconnect the wireless
link.
When we are in dev_reset, disconnect the wireless hal if it's active,
regardless of the FSM state.