diff options
author | Michal Mazur <michamazur@google.com> | 2024-12-19 09:42:26 +0000 |
---|---|---|
committer | Michal Mazur <michamazur@google.com> | 2024-12-19 09:42:26 +0000 |
commit | 66aa3d16e5e733064b1ffde809c455d612d8b241 (patch) | |
tree | 2475d8c4572d09ce8c5d5ed8ec91e13d79fe525a /src/mm-device.h | |
parent | 1e865d76a80d4c999eacd1c3c110605c45ef9f04 (diff) |
device,plugin: reset MMDevice's hotplugged after creating the modem
The hotplugged flag was added to simplify modem probe on first time it
is created. Before the re-probe it must be set to FALSE to destroy all
existing netlink interfaces and force full reconfiguration.
Diffstat (limited to 'src/mm-device.h')
-rw-r--r-- | src/mm-device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-device.h b/src/mm-device.h index 5426ef17..70c7ada4 100644 --- a/src/mm-device.h +++ b/src/mm-device.h @@ -107,6 +107,7 @@ GObject *mm_device_get_plugin (MMDevice *self); MMBaseModem *mm_device_peek_modem (MMDevice *self); MMBaseModem *mm_device_get_modem (MMDevice *self); gboolean mm_device_get_hotplugged (MMDevice *self); +void mm_device_reset_hotplugged (MMDevice *self); gboolean mm_device_get_inhibited (MMDevice *self); GObject *mm_device_peek_port_probe (MMDevice *self, |