summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chromeos/network/network_state_handler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc
index e4e5f6e..f7427ae 100644
--- a/chromeos/network/network_state_handler.cc
+++ b/chromeos/network/network_state_handler.cc
@@ -124,6 +124,8 @@ void NetworkStateHandler::SetTechnologyEnabled(
it != technologies.end(); ++it) {
std::string* technology = *it;
DCHECK(technology);
+ if (!shill_property_handler_->IsTechnologyAvailable(*technology))
+ continue;
NET_LOG_USER("SetTechnologyEnabled",
base::StringPrintf("%s:%d", technology->c_str(), enabled));
shill_property_handler_->SetTechnologyEnabled(