udev: simpler check for rfcomm device names
Just the same kind of match we use for cdc-wdm devices.
This commit is contained in:
@@ -11,7 +11,7 @@ ACTION!="add|change|move", GOTO="mm_candidate_end"
|
||||
|
||||
# Opening bound but disconnected Bluetooth RFCOMM ttys would initiate the
|
||||
# connection. Don't do that.
|
||||
KERNEL=="rfcomm[0-9]*", DEVPATH=="*/virtual/*", GOTO="mm_candidate_end"
|
||||
KERNEL=="rfcomm*", DEVPATH=="*/virtual/*", GOTO="mm_candidate_end"
|
||||
|
||||
SUBSYSTEM=="tty", ENV{ID_MM_CANDIDATE}="1"
|
||||
SUBSYSTEM=="net", ENV{ID_MM_CANDIDATE}="1"
|
||||
|
Reference in New Issue
Block a user