mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 02:00:14 +01:00
The private reference to the NMDBusManager is created at NMModemManager init time, and should only be cleared when the NMModemManager is disposed. Instead it was getting cleared whenever ModemManager1 was seen on the bus, and thus was unavailable later when it was required to watch for the old ModemManager. This caused NetworkManager to print warnings about NULL object access to the console, and could prevent it from noticing when ModemManager appeared on the system bus. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| nm-modem-broadband.c | ||
| nm-modem-broadband.h | ||
| nm-modem-cdma.c | ||
| nm-modem-cdma.h | ||
| nm-modem-generic.c | ||
| nm-modem-generic.h | ||
| nm-modem-gsm.c | ||
| nm-modem-gsm.h | ||
| nm-modem-manager.c | ||
| nm-modem-manager.h | ||
| nm-modem-types.h | ||
| nm-modem.c | ||
| nm-modem.h | ||
| README | ||
ModemManager integration is organized as follows:
Common source
********************************************************************************
* nm-modem.[h|c]:
Defines the basic `NMModem' object. The core NetworkManager implementation
will use this interface exclusively, regardless of the real final type of
the modem object.
* nm-modem-manager.[h|c]:
Defines the `NMModemManager' object, which takes care of listening to
signals from the DBus inteface notifying about added or removed modems.
It also takes care of creating proper `NMModem' objects from the
information retrieved from the DBus interface.
ModemManager 0.7 integration
********************************************************************************
* nm-modem-broadband.[h|c]:
Defines the `NMModemBroadband' object, which is a subclass of `NMModem'.
This object handles both 3GPP and 3GPP2 modems exposed in the new
`ModemManager1' interface.
ModemManager 0.4/0.5/0.6 integration
********************************************************************************
* nm-modem-types.h:
Defines helper types to use with the (old) ModemManager DBus API.
* nm-modem-generic.[h|c]:
Defines the `NMModemGeneric' object. All modem objects based on the old
ModemManager interface are subclasses of this one.
* nm-modem-gsm.[h|c]:
Defines the `NMModemGsm' object, which is a subclass of `NMModemGeneric'.
This object handles 3GPP-specific (GSM, UMTS, HSPA, LTE) modems.
* nm-modem-cdma.[h|c]:
Defines the `NMModemCdma' object, which is a subclass of `NMModemGeneric'.
This object handles 3GPP2-specific modems (CDMA, EV-DO).