]> code.delx.au - pulseaudio/commit
bluetooth: Unload device module when no audio profiles connected
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 22 Nov 2012 14:20:28 +0000 (15:20 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 22 Nov 2012 22:18:06 +0000 (00:18 +0200)
commit41055145d7563c20fd58ed4b0a9b349c2363bb02
treecb5193182bc1f856dd4e0910ec311a912081e4b5
parent0bd428df04dfb5d280b9c90bffb40059b75a4428
bluetooth: Unload device module when no audio profiles connected

Without this patch, device modules will be left around after the
device has been disconnected and when they are reconnected, the
discovery module will load duplicate device module instances.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=57239
src/modules/bluetooth/module-bluetooth-device.c