dell: don't ignore TTYs in QMI/MBIM modems
When we detect that the modem is QMI-capable or MBIM-capable, we still want to be able to use TTYs, for features unsupported by the main protocols. So, don't flag all the TTYs as non-AT non-QCDM, let them probe as usual instead.
This commit is contained in:

committed by
Dan Williams

parent
8430b05113
commit
24e31dc2b8
@@ -259,8 +259,6 @@ custom_init_step (GTask *task)
|
|||||||
if (mm_port_probe_list_has_qmi_port (mm_device_peek_port_probe_list (mm_port_probe_peek_device (probe)))) {
|
if (mm_port_probe_list_has_qmi_port (mm_device_peek_port_probe_list (mm_port_probe_peek_device (probe)))) {
|
||||||
mm_dbg ("(Dell) no need to run custom init in (%s): device has QMI port",
|
mm_dbg ("(Dell) no need to run custom init in (%s): device has QMI port",
|
||||||
mm_port_get_device (MM_PORT (ctx->port)));
|
mm_port_get_device (MM_PORT (ctx->port)));
|
||||||
mm_port_probe_set_result_at (probe, FALSE);
|
|
||||||
mm_port_probe_set_result_qcdm (probe, FALSE);
|
|
||||||
g_task_return_boolean (task, TRUE);
|
g_task_return_boolean (task, TRUE);
|
||||||
g_object_unref (task);
|
g_object_unref (task);
|
||||||
return;
|
return;
|
||||||
@@ -272,8 +270,6 @@ custom_init_step (GTask *task)
|
|||||||
if (mm_port_probe_list_has_mbim_port (mm_device_peek_port_probe_list (mm_port_probe_peek_device (probe)))) {
|
if (mm_port_probe_list_has_mbim_port (mm_device_peek_port_probe_list (mm_port_probe_peek_device (probe)))) {
|
||||||
mm_dbg ("(Dell) no need to run custom init in (%s): device has MBIM port",
|
mm_dbg ("(Dell) no need to run custom init in (%s): device has MBIM port",
|
||||||
mm_port_get_device (MM_PORT (ctx->port)));
|
mm_port_get_device (MM_PORT (ctx->port)));
|
||||||
mm_port_probe_set_result_at (probe, FALSE);
|
|
||||||
mm_port_probe_set_result_qcdm (probe, FALSE);
|
|
||||||
g_task_return_boolean (task, TRUE);
|
g_task_return_boolean (task, TRUE);
|
||||||
g_object_unref (task);
|
g_object_unref (task);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user