aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZ-张旭 <zrxu.zhang@fibocom.com>2024-02-29 15:53:53 +0800
committerNero zhang <zrxu.zhang@fibocom.com>2024-03-13 04:19:49 +0000
commit93548c29cc866b9cd4bdf2b8f70158da139ecd75 (patch)
tree96e5df5987bafd77b37fd38babde74d1eebdbaf3 /src
parent306566ad7ea8b08241904eefb18507fdf7e7993f (diff)
mm-port-probe: ignore the fastboot port of the wwan device during port detection
Diffstat (limited to 'src')
-rw-r--r--src/mm-port-probe.c3
1 files changed, 3 insertions, 0 deletions
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 */