pulseaudio/src/modules/bluetooth
Frédéric Danis 21b1d92b79 bluetooth: Fix crash on disconnection
When a Bluetooth headset is connected only to HFP profile (not connected
to A2DP) and host streams to it, a crash occurs if host disconnects.

When HFP disconnects, audio thread will fail on POLLHUP then generate
a message to set PA profile to Off before ending.
If this message is managed before PA unload bluetooth device module,
all works fine.
But, if this message is managed during module unload, this finish by
re-entrance in release code (stop_thread) and a crash.

This fix prevents to process profile change when module is unloading.
2012-05-16 06:26:00 +03:00
..
sbc bluetooth: Run update-sbc 2012-02-24 21:22:41 +00:00
a2dp-codecs.h bluetooth: audio: Update license for shared header files 2011-10-28 15:43:42 +02:00
bluetooth-util.c bluetooth: Fix crash due to usage of pa_bool_t instead of dbus_bool_t 2012-05-11 17:32:20 +05:30
bluetooth-util.h bluetooth: Set hfgw profile when HandsfreeGateway is playing 2011-11-03 00:29:00 +05:30
ipc.c bluetooth: Run update-sbc 2012-02-24 21:22:41 +00:00
ipc.h bluetooth: Run update-sbc 2012-02-24 21:22:41 +00:00
module-bluetooth-device.c bluetooth: Fix crash on disconnection 2012-05-16 06:26:00 +03:00
module-bluetooth-discover.c bluetooth: Fix Media Endpoint for HandsfreeGateway 2011-11-03 00:18:49 +05:30
module-bluetooth-proximity.c bluetooth: Change function name add_matches to update_matches. 2012-01-28 14:16:23 +02:00
proximity-helper.c Move bluetooth proximity module to src/modules/bluetooth/ 2008-09-11 01:12:10 +03:00
rtp.h bluetooth: Run 'make update-sbc' 2011-03-20 12:49:49 +00:00