summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/telit/77-mm-telit-port-types.rules8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/telit/77-mm-telit-port-types.rules b/plugins/telit/77-mm-telit-port-types.rules
index 398047c92..695246c23 100644
--- a/plugins/telit/77-mm-telit-port-types.rules
+++ b/plugins/telit/77-mm-telit-port-types.rules
@@ -1,12 +1,9 @@
# do not edit this file, it will be overwritten on update
ACTION!="add|change|move", GOTO="mm_telit_port_types_end"
+SUBSYSTEMS!="usb", GOTO="mm_telit_port_types_end"
SUBSYSTEM!="tty", GOTO="mm_telit_port_types_end"
-
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bc7", GOTO="mm_telit_vendorcheck"
-GOTO="mm_telit_port_types_end"
-
-LABEL="mm_telit_vendorcheck"
+ATTRS{idVendor}!="1bc7", GOTO="mm_telit_port_types_end"
# UC864-E, UC864-E-AUTO, UC864-K, UC864-WD, UC864-WDU
ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1003", ATTRS{bInterfaceNumber}=="00", ENV{ID_MM_TELIT_PORT_TYPE_MODEM}="1"
@@ -49,5 +46,4 @@ ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0036", ENV{ID_MM_TELIT_TAGGED}="1",
# NOTE: Qualcomm Gobi-based devices like the LE920 should not be handled
# by this plugin, but by the Gobi plugin.
-GOTO="mm_telit_port_types_end"
LABEL="mm_telit_port_types_end"