]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: Track pending class changes
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 20:54:38 +0000 (22:54 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 22:15:26 +0000 (00:15 +0200)
commita98ebacda233ea40b612f45ad9f7c9976b1e4ae9
treec5de0fe26773c40cf93cecca7554af859ecb2601
parent82be92c46fd38c47775017b8b2f775f913ce7194
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>
include/net/bluetooth/hci.h
net/bluetooth/mgmt.c