diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-11-17 11:37:21 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-11-17 11:38:23 -0600 |
commit | 6afea47158ebc5c86c8f9234d74939c1ea475f07 (patch) | |
tree | a7ede453f2bdd95dcc68a97107ec699eb5c6cd9c /plugins | |
parent | 1c3d41fafc1e1001d5227b00e17d8dc3e46273eb (diff) | |
download | ofono-6afea47158ebc5c86c8f9234d74939c1ea475f07.tar.bz2 |
Fix: Use Application port instead of Control
It seems Control port does not send CGREG unsolicited notifications
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/udev.c b/plugins/udev.c index c2e9c412..4b73298c 100644 --- a/plugins/udev.c +++ b/plugins/udev.c @@ -153,7 +153,7 @@ static void add_hso(struct ofono_modem *modem, type = udev_device_get_sysattr_value(udev_device, "hsotype"); - if (type != NULL && g_str_has_suffix(type, "Control") == TRUE) { + if (type != NULL && g_str_has_suffix(type, "Application") == TRUE) { devnode = udev_device_get_devnode(udev_device); ofono_modem_set_string(modem, MODEM_DEVICE, devnode); } else if (g_str_equal(subsystem, "net") == TRUE) { |