From 93548c29cc866b9cd4bdf2b8f70158da139ecd75 Mon Sep 17 00:00:00 2001 From: Z-张旭 Date: Thu, 29 Feb 2024 15:53:53 +0800 Subject: mm-port-probe: ignore the fastboot port of the wwan device during port detection --- src/mm-port-probe.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index 5b4f7927..c9134d98 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -1932,6 +1932,9 @@ initialize_port_type_hints (MMPortProbe *self) } else if (!g_strcmp0 (type, "FIREHOSE")) { mm_obj_dbg (self, "port may be FIREHOSE based on the wwan type attribute"); auto_ignored = TRUE; + } else if (!g_strcmp0 (type, "FASTBOOT")) { + mm_obj_dbg (self, "port may be FASTBOOT based on the wwan type attribute"); + auto_ignored = TRUE; } } /* Linux 5.13 does not have 'type' attribute yet, match kernel name instead */ -- cgit v1.2.3-70-g09d2