diff options
author | Lukas Voegl <lvoegl@tdt.de> | 2023-09-15 12:59:54 +0200 |
---|---|---|
committer | Lukas Voegl <lvoegl@tdt.de> | 2023-09-18 10:53:12 +0200 |
commit | 8cd1c1bdb9ba5bfe1b69b4484cc46bdd4720fdb4 (patch) | |
tree | 959258791644b9dd12dd8949c159363cf93e0ce8 /src/plugins/longcheer | |
parent | 1fc061b6a533780041de89dd70a2567a265f6080 (diff) |
api,modem: new 'Physdev' property
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Diffstat (limited to 'src/plugins/longcheer')
-rw-r--r-- | src/plugins/longcheer/mm-broadband-modem-longcheer.c | 2 | ||||
-rw-r--r-- | src/plugins/longcheer/mm-broadband-modem-longcheer.h | 1 | ||||
-rw-r--r-- | src/plugins/longcheer/mm-plugin-longcheer.c | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/longcheer/mm-broadband-modem-longcheer.c b/src/plugins/longcheer/mm-broadband-modem-longcheer.c index 0926de2c..25dc381d 100644 --- a/src/plugins/longcheer/mm-broadband-modem-longcheer.c +++ b/src/plugins/longcheer/mm-broadband-modem-longcheer.c @@ -371,6 +371,7 @@ load_unlock_retries (MMIfaceModem *self, MMBroadbandModemLongcheer * mm_broadband_modem_longcheer_new (const gchar *device, + const gchar *physdev, const gchar **drivers, const gchar *plugin, guint16 vendor_id, @@ -378,6 +379,7 @@ mm_broadband_modem_longcheer_new (const gchar *device, { return g_object_new (MM_TYPE_BROADBAND_MODEM_LONGCHEER, MM_BASE_MODEM_DEVICE, device, + MM_BASE_MODEM_PHYSDEV, physdev, MM_BASE_MODEM_DRIVERS, drivers, MM_BASE_MODEM_PLUGIN, plugin, MM_BASE_MODEM_VENDOR_ID, vendor_id, diff --git a/src/plugins/longcheer/mm-broadband-modem-longcheer.h b/src/plugins/longcheer/mm-broadband-modem-longcheer.h index 710abeef..b6df1c15 100644 --- a/src/plugins/longcheer/mm-broadband-modem-longcheer.h +++ b/src/plugins/longcheer/mm-broadband-modem-longcheer.h @@ -41,6 +41,7 @@ struct _MMBroadbandModemLongcheerClass{ GType mm_broadband_modem_longcheer_get_type (void); MMBroadbandModemLongcheer *mm_broadband_modem_longcheer_new (const gchar *device, + const gchar *physdev, const gchar **drivers, const gchar *plugin, guint16 vendor_id, diff --git a/src/plugins/longcheer/mm-plugin-longcheer.c b/src/plugins/longcheer/mm-plugin-longcheer.c index a53e6d03..e8a294c8 100644 --- a/src/plugins/longcheer/mm-plugin-longcheer.c +++ b/src/plugins/longcheer/mm-plugin-longcheer.c @@ -182,6 +182,7 @@ longcheer_custom_init (MMPortProbe *probe, static MMBaseModem * create_modem (MMPlugin *self, const gchar *uid, + const gchar *physdev, const gchar **drivers, guint16 vendor, guint16 product, @@ -190,6 +191,7 @@ create_modem (MMPlugin *self, GError **error) { return MM_BASE_MODEM (mm_broadband_modem_longcheer_new (uid, + physdev, drivers, mm_plugin_get_name (self), vendor, |