Index: chromeos/network/network_state_handler.cc |
diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc |
index aa91883ab1f970acc6a663a61eb14ce3c50e329d..8807fac3934ba697af9ca3c78d3824040dca129d 100644 |
--- a/chromeos/network/network_state_handler.cc |
+++ b/chromeos/network/network_state_handler.cc |
@@ -123,6 +123,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( |