aboutsummaryrefslogtreecommitdiff
path: root/src/mm-log.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-04-18 16:46:17 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-04-18 16:46:47 +0200
commit3cb639a6bbac52bddace33844f643ca487741ef9 (patch)
treeea00037eadab160a88217eaca4d332e0f27c573b /src/mm-log.c
parent4d4d6141388e2eca8acdc8efaf3ee0b5e2a09ebb (diff)
plugin-manager: handle race condition during probing
The specific case: * Modem exposes cdc-wdm port, Generic plugin probes it successfully as QMI. * Modem exposes new ports, including the wwan one. All ttys fail probing because they're neither AT nor QCDM (CnS in this case). * The wwan port ends up without a port being suggested and is not grabbed. The root cause of this is that we do not propagate the suggested plugin to newly added ports when it's the Generic one. If it wasn't the Generic one, the newly added ports would start with the suggested one for probing. Now, handle this by looking for the device-specified plugin when the port probing ends without a specific port given. If there is such a device-specified plugin accept the port, and otherwise, reject it.
Diffstat (limited to 'src/mm-log.c')
0 files changed, 0 insertions, 0 deletions