summaryrefslogtreecommitdiff
path: root/Documentation/isdn/INTERFACE
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-03-16 02:06:54 +0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-03-18 21:02:00 +0400
commit0cab9c80ffc5006bf0f6922d805a7540e4949877 (patch)
treeb4bdd16acdf3ee8b9f2d56e36084f2536ecb2114 /Documentation/isdn/INTERFACE
parent229ab39caf8c1321527e408725c1350f7c9aaa84 (diff)
downloadlinux-0cab9c80ffc5006bf0f6922d805a7540e4949877.tar.xz
Bluetooth: Fix busy condition testing for EIR and class updates
The add/remove_uuid and set_dev_class mgmt commands can trigger both EIR and class HCI commands, so testing just for a pending class command is enough. The simplest way to monitor conflicts that should trigger "busy" error returns is to check for any pending mgmt command that can trigger these HCI commands. This patch adds a helper function for this (pending_eir_or_class) and uses it instead of the old HCI_PENDING_CLASS flag to test for busy conditions. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'Documentation/isdn/INTERFACE')
0 files changed, 0 insertions, 0 deletions