wwan: Remove GDBusObjectManagerClient workaround

Tested with no ModemManager in the bus.

NetworkManager is receiving object-added signal. So hack not needed
anymore.
This commit is contained in:
Cédric Bellegarde 2024-06-23 17:44:58 +02:00 committed by Íñigo Huguet
parent 63e9b804e9
commit 8f9bc6af94

View file

@ -258,16 +258,7 @@ modm_handle_name_owner_changed(MMManager *modem_manager, GParamSpec *pspec, NMMo
/* Available! */
g_free(name_owner);
/* Hack alert: GDBusObjectManagerClient won't signal neither 'object-added'
* 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);
*/
modm_manager_available(self);
}
static void