udev: replace ENV{ID_VENDOR_ID} conditions with ATTRS{idVendor}

This commit is contained in:
Aleksander Morgado
2016-08-06 10:41:52 +02:00
parent 1a213e3b62
commit 0b35e71d46
2 changed files with 2 additions and 2 deletions
@@ -2,7 +2,7 @@
ACTION!="add|change|move", GOTO="mm_cinterion_port_types_end"
SUBSYSTEM!="tty", GOTO="mm_cinterion_port_types_end"
ENV{ID_VENDOR_ID}!="1e2d", GOTO="mm_cinterion_port_types_end"
ATTRS{idVendor}!="1e2d", GOTO="mm_cinterion_port_types_end"
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"