diff options
author | Dan Williams <dcbw@redhat.com> | 2010-03-30 16:06:55 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-03-30 16:06:55 -0700 |
commit | db413acc4e9d364e1c4ecdde0da3fade012912ab (patch) | |
tree | 68c2a77aa9e5c02c61d121edfe61ca36b65ce38d /libqcdm/src/utils.c | |
parent | df08f6a43ff8acc617f7330d25450a3a62809ffb (diff) |
core: only export modems when all ports are handled
A modem is now only exported to D-Bus when both of the following are true:
1) the modem is valid
2) all ports the modem provides have been handled by appropriate plugins
This ensures that all the modem's ports are completely ready before
any clients can do anything with it. In the case of CDMA modems with
QCDM ports, this allows the QCDM ports to be detected before exporting
the modem. Since the QCDM detection comes after AT probing, previously
this resulted in a CDMA modem getting exported to clients before we had
a QCDM port to query for registration status.
Diffstat (limited to 'libqcdm/src/utils.c')
0 files changed, 0 insertions, 0 deletions