mbm: tag the ttys instead of the parent usb device

We can just tag the ttys instead of the parent usb device, so that the core
logic which looks in the plugin-specified port tags works properly. There is no
need to explicitly tag the net port, as the probing for this port ends when a
plugin suggestion comes from another port probing on the same device.
This commit is contained in:
Aleksander Morgado
2013-03-05 20:32:03 +01:00
parent 3ebc8413b0
commit 144cc7011e

View File

@@ -1,8 +1,7 @@
# do not edit this file, it will be overwritten on update
ACTION!="add|change", GOTO="mm_mbm_end"
SUBSYSTEM!="usb", GOTO="mm_mbm_end"
ENV{DEVTYPE}!="usb_device", GOTO="mm_mbm_end"
SUBSYSTEM!="tty", GOTO="mm_mbm_end"
# Ericsson F3507g
ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1900", ENV{ID_MM_ERICSSON_MBM}="1"