1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  
     | 
    
      From d0da6819cdc6dca39902448ba7497943acdb291a Mon Sep 17 00:00:00 2001
From: Muhammad <thevancedgamer@mentallysanemainliners.org>
Date: Sat, 19 Apr 2025 18:22:14 +0500
Subject: [PATCH 2/4] mbim: fetch MBIM version on init
---
 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
 
     |