diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-24 13:28:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-24 13:34:51 +0200 |
commit | 0436b3e45753a166fea18d6c1463aef5a38fd1ee (patch) | |
tree | 5317581a8f5e85be45ba9cec8cd03be90c717fb8 /plugins/huawei/mm-plugin-huawei.c | |
parent | a595912d2d70fce7a8370b194c230331fee605a7 (diff) |
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'
Diffstat (limited to 'plugins/huawei/mm-plugin-huawei.c')
-rw-r--r-- | plugins/huawei/mm-plugin-huawei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/huawei/mm-plugin-huawei.c b/plugins/huawei/mm-plugin-huawei.c index 05e25965..e66d287b 100644 --- a/plugins/huawei/mm-plugin-huawei.c +++ b/plugins/huawei/mm-plugin-huawei.c @@ -415,7 +415,7 @@ propagate_port_mode_results (GList *probes) static MMBaseModem * create_modem (MMPlugin *self, const gchar *sysfs_path, - const gchar *driver, + const gchar **drivers, guint16 vendor, guint16 product, GList *probes, @@ -424,7 +424,7 @@ create_modem (MMPlugin *self, propagate_port_mode_results (probes); return MM_BASE_MODEM (mm_broadband_modem_huawei_new (sysfs_path, - driver, + drivers, mm_plugin_get_name (self), vendor, product)); |