mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 11:19:16 +02:00
merge: branch 'main'
wwan: Ensure we get existing objects on reset https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1957
This commit is contained in:
commit
85ba4d7c53
1 changed files with 1 additions and 10 deletions
|
|
@ -258,16 +258,7 @@ modm_handle_name_owner_changed(MMManager *modem_manager, GParamSpec *pspec, NMMo
|
||||||
/* Available! */
|
/* Available! */
|
||||||
g_free(name_owner);
|
g_free(name_owner);
|
||||||
|
|
||||||
/* Hack alert: GDBusObjectManagerClient won't signal neither 'object-added'
|
modm_manager_available(self);
|
||||||
* nor 'object-removed' if it was created while there was no ModemManager in
|
|
||||||
* the bus. This hack avoids this issue until we get a GIO with the fix
|
|
||||||
* included... */
|
|
||||||
modm_clear_manager(self);
|
|
||||||
modm_ensure_manager(self);
|
|
||||||
|
|
||||||
/* Whenever GDBusObjectManagerClient is fixed, we can just do the following:
|
|
||||||
* modm_manager_available (self);
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue