aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-3gpp.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-09-18 14:08:20 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-09-18 14:08:20 +0200
commitaa0e1081070b1062c696d31ed3c68e9511733ad1 (patch)
treeb30826dc7c9bd5ae2b807bda98f480890b25074d /cli/mmcli-modem-3gpp.c
parent546d33db6c8faa9a6ab48ae3e00a0c8339a576a8 (diff)
udev: fix SUBSYSTEMS and ATTRS{idVendor} checks
Rules with a single condition where a parent property is checked with != don't work properly. E.g.: SUBSYSTEMS!="usb", GOTO="end" or: ATTRS{idVendor}!="abcd", GOTO="end" Instead, we can mix both those previous parent rules and match them: SUBSYSTEMS=="usb",ATTRS{idVendor}=="abcd", GOTO="next" GOTO="end" LABEL="next" # Apply rules here LABEL="end" In this case both SUBSYSTEMS and ATTRS conditions apply to the parent usb_device (idVendor attribute is only available in the usb_device), so they apply to all ports of the same device.
Diffstat (limited to 'cli/mmcli-modem-3gpp.c')
0 files changed, 0 insertions, 0 deletions