Index: chromeos/network/network_state_handler.cc |
diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc |
index bed774e33bbf93ca6b0d4aa92e3115a25a93619e..a00ed60dcfbafaf3970b8b4cdf9467bd1514071c 100644 |
--- a/chromeos/network/network_state_handler.cc |
+++ b/chromeos/network/network_state_handler.cc |
@@ -423,7 +423,8 @@ void NetworkStateHandler::GetNetworkListByType(const NetworkTypePattern& type, |
if (!network_list_sorted_) |
SortNetworkList(); |
- if (type.MatchesPattern(NetworkTypePattern::Tether())) { |
+ if (type.MatchesPattern(NetworkTypePattern::Tether()) && |
+ IsTechnologyEnabled(NetworkTypePattern::Tether())) { |
khorimoto
2017/05/30 22:35:16
I don't think this CL is the right place for this
stevenjb
2017/05/30 23:23:14
I think changing the behavior in this CL is OK, bu
lesliewatkins
2017/05/31 00:43:27
If this change isn't implemented, then the Tether
lesliewatkins
2017/05/31 00:43:59
Done.
|
GetTetherNetworkList(limit, list); |
} |