aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vogt <acc-github@tovotu.de>2024-06-19 20:37:40 +0200
committerAleksander Morgado <aleksander@aleksander.es>2024-07-31 17:36:14 +0000
commit7312c861300ebccd7aa2a6ab89b787b834b0412a (patch)
tree80dd90c2779d99cb306c2da825d9115e9c0a703c
parentc2e3a8c10e6d398ef79067666c976fe6e8fb190e (diff)
intel: mark XMM7360 as unsupported
-rw-r--r--src/plugins/intel/mm-plugin-intel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/intel/mm-plugin-intel.c b/src/plugins/intel/mm-plugin-intel.c
index 2792e736..72432379 100644
--- a/src/plugins/intel/mm-plugin-intel.c
+++ b/src/plugins/intel/mm-plugin-intel.c
@@ -55,6 +55,16 @@ create_modem (MMPlugin *self,
}
#endif
+ if (mm_port_probe_list_has_xmmrpc_port (probes)) {
+ mm_obj_dbg (self, "Intel modem with RPC control port found...");
+ if (product == 0x7360) {
+ g_set_error_literal (error, MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED,
+ "Intel XMM7360 in RPC mode not supported");
+ return NULL;
+ }
+ }
+
+
mm_obj_dbg (self, "Generic Intel modem found...");
return MM_BASE_MODEM (mm_broadband_modem_new (uid,
physdev,
@@ -79,6 +89,7 @@ mm_plugin_create_intel (void)
MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids,
MM_PLUGIN_ALLOWED_AT, TRUE,
MM_PLUGIN_ALLOWED_MBIM, TRUE,
+ MM_PLUGIN_ALLOWED_XMMRPC, TRUE,
NULL));
}