commit | 4b34ee782164fbaf29b2e7c0e8cb3a898c0986ca | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Feb 21 14:13:02 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Tue Feb 21 18:47:44 2012 +0200 |
tree | 482ccb3ab4181544e48e5abd4491c5a4afbecc15 | |
parent | 8ee5654034c85b3915d078147a9d1064cac1852e [diff] |
Bluetooth: mgmt: Fix powered checks for commands Having the HCI_AUTO_OFF flag set means that from a mgmt interface perspective we're still not powered, so all tests for HCI_UP should also include a test for HCI_AUTO_OFF. This patch adds a convenience macro for it. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>