aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-11-06 13:02:22 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-11-06 13:02:22 +0000
commit6457c644b5109a1daba229f0b14de1bf1f9c555a (patch)
tree9660ff8a2ea84b940735e5c7ba545d03aa121bb8 /src
parent48e661579cfc3b3f4ee0d93615ac024f3e0689a1 (diff)
mtk-legacy: rename label in udev rules
Diffstat (limited to 'src')
-rw-r--r--src/plugins/mtk/77-mm-mtk-legacy-port-types.rules10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/mtk/77-mm-mtk-legacy-port-types.rules b/src/plugins/mtk/77-mm-mtk-legacy-port-types.rules
index 96939fd4..e0bb706c 100644
--- a/src/plugins/mtk/77-mm-mtk-legacy-port-types.rules
+++ b/src/plugins/mtk/77-mm-mtk-legacy-port-types.rules
@@ -1,10 +1,10 @@
# do not edit this file, it will be overwritten on update
-ACTION!="add|change|move|bind", GOTO="mm_mtk_port_types_end"
+ACTION!="add|change|move|bind", GOTO="mm_mtk_legacy_port_types_end"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e8d", GOTO="mm_mtk_port_types_vendorcheck"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2001", GOTO="mm_dlink_port_types_vendorcheck"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="07d1", GOTO="mm_dlink_port_types_vendorcheck"
-GOTO="mm_mtk_port_types_end"
+GOTO="mm_mtk_legacy_port_types_end"
# MediaTek devices ---------------------------
@@ -31,7 +31,7 @@ ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="00a7", ENV{.MM_USBIFNUM}=="02", SUBS
ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="00a7", ENV{.MM_USBIFNUM}=="03", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="00a7", ENV{ID_MM_MTK_TAGGED}="1"
-GOTO="mm_mtk_port_types_end"
+GOTO="mm_mtk_legacy_port_types_end"
# D-Link devices ---------------------------
@@ -48,6 +48,4 @@ ATTRS{idVendor}=="2001", ATTRS{idProduct}=="7d00", ENV{.MM_USBIFNUM}=="00", SUBS
ATTRS{idVendor}=="2001", ATTRS{idProduct}=="7d00", ENV{.MM_USBIFNUM}=="01", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
ATTRS{idVendor}=="2001", ATTRS{idProduct}=="7d00", ENV{ID_MM_MTK_TAGGED}="1"
-GOTO="mm_mtk_port_types_end"
-
-LABEL="mm_mtk_port_types_end"
+LABEL="mm_mtk_legacy_port_types_end"