Index: ui/webui/resources/cr_elements/network/cr_onc_types.js |
diff --git a/ui/webui/resources/cr_elements/network/cr_onc_types.js b/ui/webui/resources/cr_elements/network/cr_onc_types.js |
index 06303bd60a20561a8f579f324f0179c3e32c7598..fd0e2befd07922ce97a10728a839ac69ad2cfbbb 100644 |
--- a/ui/webui/resources/cr_elements/network/cr_onc_types.js |
+++ b/ui/webui/resources/cr_elements/network/cr_onc_types.js |
@@ -22,6 +22,7 @@ |
* @type {{ |
* OncTypeCellular: string, |
* OncTypeEthernet: string, |
+ * OncTypeTether: string, |
* OncTypeVPN: string, |
* OncTypeWiFi: string, |
* OncTypeWiMAX: string, |
@@ -211,7 +212,7 @@ CrOnc.getActiveValue = function(property) { |
}; |
/** |
- * Return the acitve value for a managed or unmanaged string property. |
+ * Return the active value for a managed or unmanaged string property. |
* @param {!CrOnc.ManagedProperty|string|undefined} property |
* @return {string} |
*/ |
@@ -308,6 +309,8 @@ CrOnc.getSignalStrength = function(properties) { |
var type = properties.Type; |
if (type == CrOnc.Type.CELLULAR && properties.Cellular) |
return properties.Cellular.SignalStrength || 0; |
+ if (type == CrOnc.Type.TETHER && properties.Tether) |
+ return properties.Tether.SignalStrength || 0; |
if (type == CrOnc.Type.WI_FI && properties.WiFi) |
return properties.WiFi.SignalStrength || 0; |
if (type == CrOnc.Type.WI_MAX && properties.WiMAX) |