bluetooth: Unlink sink-sources in stop_thread()
commitfcaef8285aec9d22764b8d41e6e1379f5cfd583f
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 28 Sep 2012 15:45:31 +0000 (28 17:45 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Sun, 14 Oct 2012 16:31:43 +0000 (14 19:31 +0300)
treea7b13b257467c801da8c4bd0bdee2f478ba9fef5
parent8560b495bda60c6876927280ec34cbf0ddd29fc8
bluetooth: Unlink sink-sources in stop_thread()

Avoid duplicated code by moving the unlinking of sinks and sources to
stop_thread(). After all, they need to be unlinked when the thread is
stopped.
src/modules/bluetooth/module-bluetooth-device.c