bluetooth: Check return value of start_thread()
commite68712acb41c6bd1b5af88829253c7253129417a
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 19 Oct 2012 08:11:23 +0000 (19 10:11 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Fri, 19 Oct 2012 15:22:51 +0000 (19 18:22 +0300)
treec3e33810651700352c7ec7887be6fa834d3d47fb
parentfcfc0e536ae7a5a2a2a8d53c164409db5f2187f7
bluetooth: Check return value of start_thread()

The function can return an error, so in that case the profile change
should fail.
src/modules/bluetooth/module-bluetooth-device.c