From 7312c861300ebccd7aa2a6ab89b787b834b0412a Mon Sep 17 00:00:00 2001 From: Thomas Vogt Date: Wed, 19 Jun 2024 20:37:40 +0200 Subject: intel: mark XMM7360 as unsupported --- src/plugins/intel/mm-plugin-intel.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/plugins/intel/mm-plugin-intel.c') 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)); } -- cgit v1.2.3-70-g09d2