diff --git a/plugins/modem-manager/fu-mbim-qdu-updater.c b/plugins/modem-manager/fu-mbim-qdu-updater.c index a217e9412..32038e602 100644 --- a/plugins/modem-manager/fu-mbim-qdu-updater.c +++ b/plugins/modem-manager/fu-mbim-qdu-updater.c @@ -481,6 +481,12 @@ fu_mbim_qdu_updater_write(FuMbimQduUpdater *self, return g_steal_pointer(&digest); } +MbimDevice * +fu_mbim_qdu_updater_get_mbim_device(FuMbimQduUpdater *self) +{ + return self->mbim_device; +} + static void fu_mbim_qdu_updater_init(FuMbimQduUpdater *self) { diff --git a/plugins/modem-manager/fu-mbim-qdu-updater.h b/plugins/modem-manager/fu-mbim-qdu-updater.h index 1f334b7bb..a9bb610bf 100644 --- a/plugins/modem-manager/fu-mbim-qdu-updater.h +++ b/plugins/modem-manager/fu-mbim-qdu-updater.h @@ -29,5 +29,7 @@ gchar * fu_mbim_qdu_updater_check_ready(FuMbimQduUpdater *self, GError **error); gboolean fu_mbim_qdu_updater_close(FuMbimQduUpdater *self, GError **error); +MbimDevice * +fu_mbim_qdu_updater_get_mbim_device(FuMbimQduUpdater *self); #endif /* MBIM_CHECK_VERSION(1,25,3) */