bluetooth: Refactor code to helper function
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 31 Aug 2012 10:50:55 +0000 (12:50 +0200)
committerJaska Uimonen <jaska.uimonen@intel.com>
Thu, 24 Jan 2013 07:29:36 +0000 (09:29 +0200)
commit6ac06377e20083da361f4357b4991249e4a56214
tree9ea6871e1bcf70b0948795a1b83c8899851b77bb
parent360852731ce0290ee657e13d7fa9ae0602f083d9
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