Bluetooth: Add convenience function to check for pending power off
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 1 Aug 2014 08:13:30 +0000 (11:13 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:08 +0000 (08:49 +0200)
There are several situations where we're interested in knowing whether
we're currently in the process of powering off an adapter. This patch
adds a convenience function for the purpose and makes it public since
we'll soon need to access it from hci_event.c as well.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

No differences found