bluetooth: ensure the device is deactivated if the modem disappears
authorDan Williams <dcbw@redhat.com>
Mon, 4 Jun 2012 20:52:12 +0000 (15:52 -0500)
committerDan Williams <dcbw@redhat.com>
Mon, 4 Jun 2012 20:55:18 +0000 (15:55 -0500)
commit7be7095f6be6c7807e25808c7a437fe9b30d305d
tree718f762e5088c900112c0ec0024cf62a9642e566
parent5751a7909b64c6dac82bfe449c816c9c53756c9b
bluetooth: ensure the device is deactivated if the modem disappears

Usually if the BT link goes down we'll get some other signal of
failure, like PPP disconnect, or a Bluetooth disconnect.  But if
the modem disappears from ModemManager for some reason while its
connected, make sure we clean up everything correctly.
src/nm-device-bt.c