diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-07-25 03:42:46 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-07-25 03:42:46 +0200 |
commit | 1d303e3d38f12c1dcf310c9e1aa0541e35b72066 (patch) | |
tree | 172e757dccab2ef6259f2c6f67c3d4b4d0cbedfb | |
parent | 28181a66ef9eba10da9c8c47d46f4b9ba0ba0a22 (diff) | |
download | ofono-1d303e3d38f12c1dcf310c9e1aa0541e35b72066.tar.bz2 |
udev: Fix interfaces numbers for Nokia data cards
-rw-r--r-- | plugins/udev.c | 4 |
1 files 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); |