]> code.delx.au - pulseaudio/commit
bluetooth: Check return value of init_profile()
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 19 Oct 2012 08:11:22 +0000 (10:11 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 19 Oct 2012 15:21:18 +0000 (18:21 +0300)
commitfcfc0e536ae7a5a2a2a8d53c164409db5f2187f7
tree7ed8933f8a1f5b238e7abe253c9bd466ca9422f2
parent8b1236531efb7a485c6386888468db920cae6d99
bluetooth: Check return value of init_profile()

If profile could not be successfully initialized, the card should be
set to PROFILE_OFF automatically. If sinks or sources exist, they need
to be destroyed, therefore stop_thread() is called.
src/modules/bluetooth/module-bluetooth-device.c