udev: Fix typo for Huawei diagnostic interfaces
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 17 Aug 2011 01:50:05 +0000 (18:50 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Aug 2011 00:16:00 +0000 (17:16 -0700)
plugins/udevng.c

index 78682ff..1365bd1 100644 (file)
@@ -259,7 +259,7 @@ static gboolean setup_huawei(struct modem_info *modem)
                                break;
                } else if (g_strcmp0(info->label, "diag") == 0 ||
                                g_strcmp0(info->interface, "255/1/3") == 0 ||
-                               g_strcmp0(info->interface, "255/2/2") == 0) {
+                               g_strcmp0(info->interface, "255/2/3") == 0) {
                        diag = info->devnode;
                        if (mdm != NULL && pcui != NULL)
                                break;