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>
Mon, 10 Dec 2012 20:43:57 +0000 (22:43 +0200)
commitb703786b5aaaaf49661cd992fea3ebdaec6949e3
tree37cafa00d9819ab169f86f6d12a55a6f33ec17cd
parent689049fe576d763a075232c25db624cac457aba9
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