]> code.delx.au - pulseaudio/commit
bluetooth: Refactor code to helper function
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 31 Aug 2012 10:50:55 +0000 (12:50 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 26 Sep 2012 11:27:14 +0000 (19:27 +0800)
commit38de0af64ef1e0bb8c64a96ed10e994841c813b3
treeefddf3684bc9dd019c3fe078e3a8377317bc40ae
parent431f56fd68548a57fce8a87ca02b34d5c50e7292
bluetooth: Refactor code to helper function

Make code more readable by introducing the helper function
bt_transport_is_acquired(). This also adds assertions to check whether
the internal state is consistent.
src/modules/bluetooth/module-bluetooth-device.c