diff options
author | Thomas Sailer <t.sailer@alumni.ethz.ch> | 2016-02-13 17:37:15 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-02-13 18:03:28 +0100 |
commit | eeb23637bd5a637e67955281a97223809023f23b (patch) | |
tree | 183e06f01137886be88d681cf6a2de6b3769698d | |
parent | cffba7e0ee512800329476d7da13046171c99067 (diff) |
thuraya: filter by vendor ID instead of vendor string
Probe the Thuraya XT modem by USB vendor ID; there are no RS232 versions
to my knowledge.
One of my computers exhibiting the probing issue (VID/PID of the PCI
host controller instead of the USB device) fixed itself after a reboot.
Signed-off-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
-rw-r--r-- | plugins/thuraya/mm-plugin-thuraya.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/thuraya/mm-plugin-thuraya.c b/plugins/thuraya/mm-plugin-thuraya.c index df8a6aa9..ae7bf773 100644 --- a/plugins/thuraya/mm-plugin-thuraya.c +++ b/plugins/thuraya/mm-plugin-thuraya.c @@ -60,13 +60,13 @@ G_MODULE_EXPORT MMPlugin * mm_plugin_create (void) { static const gchar *subsystems[] = { "tty", NULL }; - static const gchar *vendor_strings[] = { "manufacturer apsi", NULL }; + static const guint16 vendor_ids[] = { 0x1a26, 0 }; return MM_PLUGIN ( g_object_new (MM_TYPE_PLUGIN_THURAYA, MM_PLUGIN_NAME, "Thuraya", MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems, - MM_PLUGIN_ALLOWED_VENDOR_STRINGS, vendor_strings, + MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids, MM_PLUGIN_ALLOWED_AT, TRUE, NULL)); } |