aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/haier/77-mm-haier-port-types.rules7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/haier/77-mm-haier-port-types.rules b/plugins/haier/77-mm-haier-port-types.rules
index 1a1ed80e..41db317a 100644
--- a/plugins/haier/77-mm-haier-port-types.rules
+++ b/plugins/haier/77-mm-haier-port-types.rules
@@ -1,12 +1,9 @@
# do not edit this file, it will be overwritten on update
ACTION!="add|change|move", GOTO="mm_haier_port_types_end"
+SUBSYSTEMS!="usb", GOTO="mm_haier_port_types_end"
SUBSYSTEM!="tty", GOTO="mm_haier_port_types_end"
-
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="201e", GOTO="mm_haier_port_types_vendorcheck"
-GOTO="mm_haier_port_types_end"
-
-LABEL="mm_haier_port_types_vendorcheck"
+ATTRS{idVendor}!="201e", GOTO="mm_haier_port_types_end"
# Haier CE81B
ATTRS{idVendor}=="201e", ATTRS{idProduct}=="10f8", ATTRS{bInterfaceNumber}=="03", ENV{ID_MM_HAIER_PORT_TYPE_MODEM}="1"