diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-23 15:54:38 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-23 17:15:26 -0500 |
commit | c95f0ba76f902bc8b540468b695bcfe8948e8e46 (patch) | |
tree | c5de0fe26773c40cf93cecca7554af859ecb2601 /include/net | |
parent | 08c79b6133b70a6e3d462d11a89c80259ac66ec7 (diff) |
Bluetooth: mgmt: Track pending class changes
This patch adds a flag to track pending changes to the class of device.
This is needed since we cannot cleanly handle multiple simultaneous
commands and need to return a "busy" error status in the mgmt commands
that might trigger a class change.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index c97cf0872ac9..05bd9aca4054 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -100,6 +100,7 @@ enum { | |||
100 | HCI_CONNECTABLE, | 100 | HCI_CONNECTABLE, |
101 | HCI_DISCOVERABLE, | 101 | HCI_DISCOVERABLE, |
102 | HCI_LINK_SECURITY, | 102 | HCI_LINK_SECURITY, |
103 | HCI_PENDING_CLASS, | ||
103 | }; | 104 | }; |
104 | 105 | ||
105 | /* HCI ioctl defines */ | 106 | /* HCI ioctl defines */ |