udev: Use ID_USB_INTERFACE_NUM property instead bInterfaceNumber

This commit is contained in:
Marcel Holtmann 2011-08-06 13:07:37 +02:00
parent 787f14229a
commit 40cf7449fe
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ static void add_device(const char *syspath, const char *devname,
return;
interface = udev_device_get_property_value(intf, "INTERFACE");
number = udev_device_get_sysattr_value(intf, "bInterfaceNumber");
number = udev_device_get_property_value(device, "ID_USB_INTERFACE_NUM");
label = udev_device_get_property_value(device, "OFONO_LABEL");