aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-10-01 12:00:14 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-11-01 20:07:40 +0100
commitd44690489b57969bfdc44ebfcbfefce6cf3c5b42 (patch)
tree0e65c312bf82571292e92f9e618d2664cbe60727 /src/mm-iface-modem.c
parentf79ec9bf4d94a6ae204e24647bf844d6af2ecb96 (diff)
udev: Don't mark disconnected RFCOMM ttys as candidates
Bluetooth serial devices are weird. They begin life being bound with RFCOMMCREATEDEV ioctl() and then move around the sysfs tree when they are connected and disconnected. The connection is estabilished upon the first open() and torn down upon last close(), their first user virtually being "owner" of the connection. We don't want to be that process, we're only interested in actually connected modems. However, currently we have no knowledge of that and therefore we connect and disconnect multiple times while probing. This patch marks unconnected RFCOMM devices as uninteresting to us. The actual connection and disconnection will be handled by NetworkManager.
Diffstat (limited to 'src/mm-iface-modem.c')
0 files changed, 0 insertions, 0 deletions