network: fix modem connected state check
There is no CONNECTED state for devices, it's ACTIVATED. https://bugzilla.gnome.org/show_bug.cgi?id=650124
This commit is contained in:
parent
63b1699a35
commit
4b3fbc4c9b
@ -838,7 +838,7 @@ NMDeviceModem.prototype = {
|
||||
},
|
||||
|
||||
get connected() {
|
||||
return this._enabled && this.device.state == NetworkManager.DeviceState.CONNECTED;
|
||||
return this._enabled && this.device.state == NetworkManager.DeviceState.ACTIVATED;
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user