| Index: chromeos/network/network_state_handler.cc
|
| diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc
|
| index d1ca44f89dc48c4244762c17d353910a116d685a..6b0e58ed9741eb402e9591bc7f40b93820db0428 100644
|
| --- a/chromeos/network/network_state_handler.cc
|
| +++ b/chromeos/network/network_state_handler.cc
|
| @@ -393,8 +393,14 @@ void NetworkStateHandler::UpdateNetworkServiceProperty(
|
| std::string prev_connection_state = network->connection_state();
|
| if (!network->PropertyChanged(key, value))
|
| return;
|
| - if (network->connection_state() != prev_connection_state)
|
| + if (network->connection_state() != prev_connection_state) {
|
| OnNetworkConnectionStateChanged(network);
|
| + } else if (network->path() == default_network_path_ &&
|
| + key != flimflam::kSignalStrengthProperty) {
|
| + // WiFi signal strength updates are too noisy, so don't
|
| + // trigger default network updates for those changes.
|
| + OnDefaultNetworkChanged();
|
| + }
|
|
|
| NetworkPropertiesUpdated(network);
|
|
|
| @@ -405,18 +411,6 @@ void NetworkStateHandler::UpdateNetworkServiceProperty(
|
| network_event_log::AddEntry(kLogModule, "NetworkPropertyUpdated", detail);
|
| }
|
|
|
| -void NetworkStateHandler::UpdateNetworkServiceIPAddress(
|
| - const std::string& service_path,
|
| - const std::string& ip_address) {
|
| - NetworkState* network = GetModifiableNetworkState(service_path);
|
| - if (!network)
|
| - return;
|
| - std::string detail = network->name() + ".IPAddress = " + ip_address;
|
| - network_event_log::AddEntry(kLogModule, "NetworkIPChanged", detail);
|
| - network->set_ip_address(ip_address);
|
| - NetworkPropertiesUpdated(network);
|
| -}
|
| -
|
| void NetworkStateHandler::UpdateDeviceProperty(const std::string& device_path,
|
| const std::string& key,
|
| const base::Value& value) {
|
|
|