[PATCH v4 3/6] mbim: fetch MBIM version on init

Muhammad Asif <[email protected]> Mon, 5 May 2025 00:19:28 +0500
Newsgroups dev.linux.lists.ofono
Message-ID <[email protected]>
---
 plugins/mbim.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/mbim.c b/plugins/mbim.c
index e1d33f47..3a1942da 100644
--- a/plugins/mbim.c
+++ b/plugins/mbim.c
@@ -287,6 +287,8 @@ static int mbim_enable(struct ofono_modem *modem)
 					mbim_device_closed, modem, NULL);
 	mbim_device_set_debug(md->device, mbim_debug, "MBIM:", NULL);
 
+	mbim_device_get_version(md->device);
+
 	return -EINPROGRESS;
 }
 
-- 
2.49.0