diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-07-28 00:14:08 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-08-06 10:41:52 +0200 |
commit | c7c65e2d572793373b8105e2a78e94bc3b10fce6 (patch) | |
tree | 0db1c518ac7a6397b29dfa6b471138b82594b148 | |
parent | 1ca47e4b52b04ef4c7b652f39097c9469dde6429 (diff) |
udev: simpler check for rfcomm device names
Just the same kind of match we use for cdc-wdm devices.
-rw-r--r-- | src/80-mm-candidate.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/80-mm-candidate.rules b/src/80-mm-candidate.rules index 52e6882e..2f95e7d2 100644 --- a/src/80-mm-candidate.rules +++ b/src/80-mm-candidate.rules @@ -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" |