From 1d303e3d38f12c1dcf310c9e1aa0541e35b72066 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 25 Jul 2011 03:42:46 +0200 Subject: udev: Fix interfaces numbers for Nokia data cards --- plugins/udev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/udev.c b/plugins/udev.c index 0b7d0472..54b86a9d 100644 --- a/plugins/udev.c +++ b/plugins/udev.c @@ -434,10 +434,10 @@ static void add_nokia(struct ofono_modem *modem, DBG("intfnum %s", intfnum); - if (g_strcmp0(intfnum, "01") == 0) { + if (g_strcmp0(intfnum, "02") == 0) { devnode = udev_device_get_devnode(udev_device); ofono_modem_set_string(modem, "Modem", devnode); - } else if (g_strcmp0(intfnum, "03") == 0) { + } else if (g_strcmp0(intfnum, "04") == 0) { devnode = udev_device_get_devnode(udev_device); ofono_modem_set_string(modem, "Control", devnode); -- cgit v1.2.3