From 0436b3e45753a166fea18d6c1463aef5a38fd1ee Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 24 Aug 2012 13:28:22 +0200 Subject: api,introspection: report list of drivers, not just one Different ports of the same modem may get handled by different drivers. We therefore need to provide a list of drivers (new `Modem.Drivers' property with signature 'as') instead of just one (removed `Modem.Driver' property with signature 's'). $ sudo mmcli -m 0 | grep drivers | drivers: 'qcserial, qmi_wwan' --- plugins/simtech/mm-plugin-simtech.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/simtech/mm-plugin-simtech.c') diff --git a/plugins/simtech/mm-plugin-simtech.c b/plugins/simtech/mm-plugin-simtech.c index 19774a5a..3b4f69f7 100644 --- a/plugins/simtech/mm-plugin-simtech.c +++ b/plugins/simtech/mm-plugin-simtech.c @@ -32,14 +32,14 @@ int mm_plugin_minor_version = MM_PLUGIN_MINOR_VERSION; static MMBaseModem * create_modem (MMPlugin *self, const gchar *sysfs_path, - const gchar *driver, + const gchar **drivers, guint16 vendor, guint16 product, GList *probes, GError **error) { return MM_BASE_MODEM (mm_broadband_modem_simtech_new (sysfs_path, - driver, + drivers, mm_plugin_get_name (self), vendor, product)); -- cgit v1.2.3-70-g09d2