aboutsummaryrefslogtreecommitdiff
path: root/plugins/quectel/mm-plugin-quectel.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/quectel/mm-plugin-quectel.c')
-rw-r--r--plugins/quectel/mm-plugin-quectel.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/plugins/quectel/mm-plugin-quectel.c b/plugins/quectel/mm-plugin-quectel.c
index 45506151..9a7a1c63 100644
--- a/plugins/quectel/mm-plugin-quectel.c
+++ b/plugins/quectel/mm-plugin-quectel.c
@@ -61,21 +61,12 @@ create_modem (MMPlugin *self,
#if defined WITH_MBIM
if (mm_port_probe_list_has_mbim_port (probes)) {
- if (vendor == 0x1eac) {
- mm_obj_dbg (self, "MBIM-powered PCI Quectel modem found...");
- return MM_BASE_MODEM (mm_broadband_modem_mbim_quectel_new (uid,
- drivers,
- mm_plugin_get_name (self),
- vendor,
- product));
- } else {
- mm_obj_dbg (self, "MBIM-powered Quectel modem found...");
- return MM_BASE_MODEM (mm_broadband_modem_mbim_new (uid,
- drivers,
- mm_plugin_get_name (self),
- vendor,
- product));
- }
+ mm_obj_dbg (self, "MBIM-powered Quectel modem found...");
+ return MM_BASE_MODEM (mm_broadband_modem_mbim_quectel_new (uid,
+ drivers,
+ mm_plugin_get_name (self),
+ vendor,
+ product));
}
#endif