diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 33eb4d451..ca4e462eb 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -2080,12 +2080,12 @@ const NMApplet = new Lang.Class({ if (a.state == NetworkManager.ActiveConnectionState.ACTIVATING) activating = a; - else if (a.state == NetworkManager.ActiveConnectionState.ACTIVE) + else if (a.state == NetworkManager.ActiveConnectionState.ACTIVATED) active_any = a; if (a._type == 'vpn' && (a.state == NetworkManager.ActiveConnectionState.ACTIVATING || - a.state == NetworkManager.ActiveConnectionState.ACTIVE)) + a.state == NetworkManager.ActiveConnectionState.ACTIVATED)) active_vpn = a; if (!a._primaryDevice) {