modem-manager: add get_mbim_device method for MbimQdu

This commit is contained in:
Ivan Mikhanchuk 2022-02-17 20:31:58 -08:00 committed by Richard Hughes
parent 7fc784d612
commit 387b797c6f
2 changed files with 8 additions and 0 deletions

View File

@ -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)
{

View File

@ -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) */