Chromium Code Reviews
Description[CrOS Tether] NetworkList: Remove code which erroneously added Tether networks twice.
Tether networks are already included when NetworkStateHandler::GetVisibleNetworkList() is called, so they should not be added twice. This error caused a crash because NetworkList contains several maps from network GUID to another object, and these maps would get out of sync when two networks with the same GUID were included.
This CL also removes some unnecessary code which skipped adding Wi-Fi networks which have a tether GUID set. This can no longer happen, since those networks are never returned from NetworkStateHandler after https://codereview.chromium.org/2945643002/.
BUG=672263, 737654
Review-Url: https://codereview.chromium.org/2961153003
Cr-Commit-Position: refs/heads/master@{#483249}
Committed: https://chromium.googlesource.com/chromium/src/+/ba110b86fcda72e706d03f46c75976018aa80d63
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|
|||||||||||||||||||