mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 06:50:10 +01:00
modem: disable modem instead of just disconnecting
Until later when we'll actually do stuff like probing signal strength and such while disconnected.
This commit is contained in:
parent
eeec1021b2
commit
bee58e359d
1 changed files with 3 additions and 1 deletions
|
|
@ -460,7 +460,9 @@ device_state_changed (NMDeviceInterface *device,
|
|||
case NM_DEVICE_STATE_FAILED:
|
||||
case NM_DEVICE_STATE_DISCONNECTED:
|
||||
dbus_g_proxy_call_no_reply (nm_modem_get_proxy (self, NULL),
|
||||
"Disconnect", G_TYPE_INVALID);
|
||||
"Enable",
|
||||
G_TYPE_BOOLEAN, FALSE,
|
||||
G_TYPE_INVALID);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue